Class ChartAdornmentContainer
Represents the panel which contains all the ChartAdornment elements.
Inheritance
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class ChartAdornmentContainer : Panel
Remarks
The elements inside the panel comprises of adornment labels, marker symbols and connector lines to connect the labels.
Constructors
ChartAdornmentContainer()
Initializes a new instance of the ChartAdornmentContainer class.
Declaration
public ChartAdornmentContainer()
ChartAdornmentContainer(ChartAdornment)
Initializes a new instance of the ChartAdornmentContainer class.
Declaration
public ChartAdornmentContainer(ChartAdornment adornment)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartAdornment | adornment |
Fields
LabelHorizontalAlignmentProperty
The DependencyProperty for LabelHorizontalAlignment property.
Declaration
public static readonly DependencyProperty LabelHorizontalAlignmentProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
LabelVerticalAlignmentProperty
The DependencyProperty for LabelVerticalAlignment property.
Declaration
public static readonly DependencyProperty LabelVerticalAlignmentProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SymbolProperty
The DependencyProperty for Symbol property.
Declaration
public static readonly DependencyProperty SymbolProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
Properties
LabelHorizontalAlignment
Gets or sets the label horizontal alignment.
Declaration
public HorizontalAlignment LabelHorizontalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| Windows.UI.Xaml.HorizontalAlignment | The label horizontal alignment. |
LabelVerticalAlignment
Gets or sets the label vertical alignment.
Declaration
public VerticalAlignment LabelVerticalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| Windows.UI.Xaml.VerticalAlignment | The label vertical alignment. |
Symbol
Gets or sets the chart symbol
Declaration
public ChartSymbol Symbol { get; set; }
Property Value
| Type |
|---|
| ChartSymbol |
SymbolOffset
Gets the symbol offset.
Declaration
public Point SymbolOffset { get; }
Property Value
| Type | Description |
|---|---|
| Windows.Foundation.Point | The symbol offset. |
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.Foundation.Size | finalSize | The final area within the parent that this object should use to arrange itself and its children. |
Returns
| Type | Description |
|---|---|
| Windows.Foundation.Size | The actual size that is used after the element is arranged in layout. |
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.Foundation.Size | availableSize | The Available Size |
Returns
| Type | Description |
|---|---|
| Windows.Foundation.Size | The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size. |