StackPanel<TBackgroundGeometry, TDrawingContext>
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.VisualElements

Summary:
Obsolete.

Type parameters:
TBackgroundGeometry
TDrawingContext
Inheritance:
Object =>
ChartElement =>
VisualElement =>
StackPanel<TBackgroundGeometry> =>
StackPanel<TBackgroundGeometry, TDrawingContext>
Implements:

Constructors

// Initializes a new instance of the StackPanel`1 class.

Properties

Gets the children collection.
Type: List<VisualElement>
Gets or sets the panel orientation.
Type: ContainerOrientation
Gets or sets the vertical alignment.
Type: Align
Gets or sets the horizontal alignment.
Type: Align
Gets or sets the padding.
Type: Padding
Gets or sets the background paint.
Type: Paint
Gets the background geometry.
Type: TBackgroundGeometry
Gets or sets the maximum width. When the maximum with is reached, a new row is created.
Type: Double
Gets or sets the maximum height. When the maximum height is reached, a new column is created.
Type: Double
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
Gets or sets the clipping mode, clipping restricts the visual element for being drawn outside of the chart area (DrawMargin), default is XY, and means that anything outside the chart bounds will be ignored.
Type: ClipMode
Tag
Gets or sets the object that contains data about the control.
Type: Object
Gets or sets a value indicating whether the element is visible.
Type: Boolean

Events

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

Methods

// Measures the element and returns the size.
Chart chart// The chart.
)
// Removes the element from the UI.
Chart chart// The chart.
)
// Invalidates the IChartElement in the user interface.
Chart chart// The chart.
)
// Gets the hit box, an area where the user can interact with the object.
// Deletes the Paint instances that changed from the user interface.
IChartView chart// The chart.
)