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