Table of Contents

Class ElementsDashboard

Namespace
ConsoleAppVisuals.PassiveElements
Assembly
ConsoleAppVisuals.dll

The ElementsDashboard is a passive element that displays a dashboard of all the elements currently in the Window class.

public class ElementsDashboard : PassiveElement
Inheritance
ElementsDashboard
Inherited Members

Remarks

For more information, consider visiting the documentation available here.

Constructors

ElementsDashboard(Placement, BordersType)

The ElementsDashboard is a passive element that displays a dashboard of all the elements currently in the Window class.

public ElementsDashboard(Placement placement = Placement.TopCenter, BordersType bordersType = BordersType.SingleStraight)

Parameters

placement Placement

The placement of the dashboard.

bordersType BordersType

The type of borders to be used in the dashboard.

Remarks

For more information, consider visiting the documentation available here.

Properties

Borders

Gets the border manager of the dashboard.

public Borders Borders { get; }

Property Value

Borders

BordersType

Gets the type of borders to be used in the dashboard.

public BordersType BordersType { get; }

Property Value

BordersType

Count

Gets the number of lines in the dashboard.

public int Count { get; }

Property Value

int

Headers

Gets the headers of the dashboard.

public static List<string> Headers { get; }

Property Value

List<string>

Height

This property returns the height of the dashboard.

public override int Height { get; }

Property Value

int

Lines

Gets the lines of the dashboard.

public List<List<string>> Lines { get; }

Property Value

List<List<string>>

Placement

Gets the title of the dashboard.

public override Placement Placement { get; }

Property Value

Placement

Title

Gets the title of the dashboard.

public static string Title { get; }

Property Value

string

Width

This property returns the width of the dashboard.

public override int Width { get; }

Property Value

int

Methods

RenderElementActions()

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

[Visual]
protected override void RenderElementActions()

UpdateBordersType(BordersType)

Updates the type of borders to be used in the dashboard.

public void UpdateBordersType(BordersType bordersType)

Parameters

bordersType BordersType

The new type of borders to be used in the dashboard.

Remarks

For more information, consider visiting the documentation available here.

UpdatePlacement(Placement)

Updates the placement of the dashboard.

public void UpdatePlacement(Placement placement)

Parameters

placement Placement

The new placement of the dashboard.

Remarks

For more information, consider visiting the documentation available here.