Table of Contents

Class Footer

Namespace
ConsoleAppVisuals.PassiveElements
Assembly
ConsoleAppVisuals.dll

The Footer is a passive element that displays a footer on the console.

public class Footer : PassiveElement
Inheritance
Footer
Inherited Members

For more information, consider visiting the documentation available here.

Constructors

The Footer is a passive element that displays a footer on the console.

public Footer(string leftText = "Footer Left", string centerText = "Footer Center", string rightText = "Footer Right")

Parameters

leftText string

The text on the left of the footer.

centerText string

The text in the center of the footer.

rightText string

The text on the right of the footer.

For more information, consider visiting the documentation available here.

Properties

Gets the height of the footer.

public override int Height { get; }

Property Value

int

Gets the maximum number of this element.

public override int MaxNumberOfThisElement { get; }

Property Value

int

Gets the placement of the footer.

public override Placement Placement { get; }

Property Value

Placement

Gets the text of the footer.

public (string, string, string) Text { get; }

Property Value

(string, string, string)

Gets the width of the footer.

public override int Width { get; }

Property Value

int

Methods

Defines the actions to perform when the element is called to be rendered on the console.

[Visual]
protected override void RenderElementActions()

Updates the text in the center of the footer.

public void UpdateCenterText(string centerText)

Parameters

centerText string

The new text in the center of the footer.

For more information, consider visiting the documentation available here.

Updates the text on the left of the footer.

public void UpdateLeftText(string leftText)

Parameters

leftText string

The new text on the left of the footer.

For more information, consider visiting the documentation available here.

Updates the text on the right of the footer.

public void UpdateRightText(string rightText)

Parameters

rightText string

The new text on the right of the footer.

For more information, consider visiting the documentation available here.