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
PlacementThe placement of the dashboard.
bordersType
BordersTypeThe 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
BordersType
Gets the type of borders to be used in the dashboard.
public BordersType BordersType { get; }
Property Value
Count
Gets the number of lines in the dashboard.
public int Count { get; }
Property Value
Headers
Gets the headers of the dashboard.
public static List<string> Headers { get; }
Property Value
Height
This property returns the height of the dashboard.
public override int Height { get; }
Property Value
Lines
Gets the lines of the dashboard.
public List<List<string>> Lines { get; }
Property Value
Placement
Gets the title of the dashboard.
public override Placement Placement { get; }
Property Value
Title
Gets the title of the dashboard.
public static string Title { get; }
Property Value
Width
This property returns the width of the dashboard.
public override int Width { get; }
Property Value
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
BordersTypeThe 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
PlacementThe new placement of the dashboard.
Remarks
For more information, consider visiting the documentation available here.