Class ChartDockPanel
Arranges child elements around the edges of the panel. Optionally, last added child element can occupy the remaining space.
Inheritance
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class ChartDockPanel : Panel
Constructors
ChartDockPanel()
Declaration
public ChartDockPanel()
Fields
DockProperty
The DependencyProperty for Dock property.
Declaration
public static readonly DependencyProperty DockProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ElementMarginProperty
The DependencyProperty for ElementMargin property.
Declaration
public static readonly DependencyProperty ElementMarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LastChildFillProperty
The DependencyProperty for LastChildFill property.
Declaration
public static readonly DependencyProperty LastChildFillProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
m_rootElement
Initializes m_rootElement
Declaration
public UIElement m_rootElement
Field Value
Type |
---|
Windows.UI.Xaml.UIElement |
RootElementProperty
The DependencyProperty for RootElement property.
Declaration
public static readonly DependencyProperty RootElementProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
ElementMargin
Gets or sets the element margin. This is a dependency property.
Declaration
public Thickness ElementMargin { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Thickness | The element margin. |
LastChildFill
Gets or sets a value indicating whether to enable the lastChildFillProperty.
Declaration
public bool LastChildFill { get; set; }
Property Value
Type |
---|
System.Boolean |
RootElement
Gets or sets the root element. This is a dependency property.
Declaration
public UIElement RootElement { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | The root element. |
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a Windows.UI.Xaml.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | The actual size used. |
GetDock(UIElement)
Gets an element's dock position in the Chart area.
Declaration
public static ChartDock GetDock(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | element | any UIElement |
Returns
Type | Description |
---|---|
ChartDock | returns dock position of UIElement. |
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. |
SetDock(UIElement, ChartDock)
Sets an element's dock position in the Chart area.
Declaration
public static void SetDock(UIElement element, ChartDock dock)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | element | |
ChartDock | dock |