TableLayout<TBackgroundGeometry, TDrawingContext>
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.VisualElements

Summary:
Defines the table panel class.

Type parameters:
TBackgroundGeometry The type of the background geometry.
TDrawingContext The type of the drawing context.
Inheritance:
Object =>
ChartElement<TDrawingContext> =>
VisualElement<TDrawingContext> =>
TableLayout<TBackgroundGeometry, TDrawingContext>
Implements:
IChartElement<TDrawingContext>

Properties

Gets or sets the padding.
Type: Padding
Gets or sets the horizontal alignment.
Type: Align
Gets or sets the horizontal alignment.
Type: Align
Gets or sets the background paint.
Type: IPaint<TDrawingContext>
Gets the background geometry.
Type: TBackgroundGeometry
X
Gets or sets the X coordinate [in Pixels or ChartValues, see LocationUnit].
Type: Double
Y
Gets or sets the Y coordinate [in Pixels or ChartValues, see LocationUnit].
Type: Double
Gets or sets the rotation.
Type: Double
Gets or sets the translate transform.
Type: LvcPoint
Gets or sets the unit of the X and Y properties.
Type: MeasureUnit
Gets or sets the axis index where the series is scaled in the X plane, the index must exist in the YAxes collection.
Type: Int32
Gets or sets the axis index where the series is scaled in the Y plane, the index must exist in the YAxes collection.
Type: Int32
Tag
Gets or sets the object that contains data about the control.
Type: Object

Events

Called when the pointer goes down on the visual.
Handler definition: VisualElementHandler<TDrawingContext>
Occurs when a property value changes.
Handler definition: PropertyChangedEventHandler

Methods

// Measures the element and returns the size.
Chart<TDrawingContext> chart// The chart.
)
// Removes the element from the UI.
Chart<TDrawingContext> chart// The chart.
)
// Adds a child to the layout.
VisualElement<TDrawingContext> child, // The row index.
Int32 row, // The column index.
Int32 column, // The visual to add.
Nullable<Align> horizontalAlign, // The cell horizontal alignment, if null the alignment will be defined by the layout.
Nullable<Align> verticalAlign// The cell vertical alignment, if null the alignment will be defined by the layout.
)
// Removes a child from the layout.
Int32 row, // The row.
Int32 column// The column.
)
// Enumerates the children in the layout.