Class ChartDockPanel
Represents main chart docking panel.Chart docking panel provides docking abilities for chart elements.
Inheritance
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartDockPanel : Panel
Constructors
ChartDockPanel()
Declaration
public ChartDockPanel()
Fields
AlignmentProperty
Identifies the Alignment dependency property.
Declaration
public static readonly DependencyProperty AlignmentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DockProperty
Identifies the Dock dependency property.
Declaration
public static readonly DependencyProperty DockProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ElementMarginProperty
Identifies the ElementMargin dependency property.
Declaration
public static readonly DependencyProperty ElementMarginProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FloatAlignmentXProperty
Identifies the FloatAlignmentX dependency property.
Declaration
public static readonly DependencyProperty FloatAlignmentXProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FloatAlignmentYProperty
Identifies the FloatAlignmentY dependency property.
Declaration
public static readonly DependencyProperty FloatAlignmentYProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FloatingOffsetProperty
Identifies the FloatingOffset dependency property.
Declaration
public static readonly DependencyProperty FloatingOffsetProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RootElementProperty
Identifies the RootElement dependency property.
Declaration
public static readonly DependencyProperty RootElementProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ElementMargin
Gets or sets the element margin. This is a dependency property.
Declaration
public Thickness ElementMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | The element margin. |
FloatAlignmentX
Gets or sets the float alignment X. This is a dependency property.
Declaration
public AlignmentX FloatAlignmentX { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.AlignmentX | The float alignment X. |
FloatAlignmentY
Gets or sets the float alignment Y. This is a dependency property.
Declaration
public AlignmentY FloatAlignmentY { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.AlignmentY | The float alignment Y. |
FloatingOffset
Gets or sets the floating offset. This is a dependency property.
Declaration
public Vector FloatingOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Vector | The floating offset. |
Orientation
Gets or sets the panel's orientation. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.Orientation | The orientation. |
RootElement
Gets or sets the root element. This is a dependency property.
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. |
GetAlignment(UIElement)
Gets the alignment attached property on passed System.Windows.UIElement.
Declaration
public static ChartAlignment GetAlignment(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | The element. |
Returns
Type | Description |
---|---|
ChartAlignment | The ChartAlignment |
GetDock(UIElement)
Gets the dock attached property on passed System.Windows.UIElement.
Declaration
public static ChartDock GetDock(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | The element. |
Returns
Type | Description |
---|---|
ChartDock | DOcking value for element. |
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |
OnVisualChildrenChanged(DependencyObject, DependencyObject)
Invoked when the System.Windows.Media.VisualCollection of a visual object is modified.
Declaration
protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | visualAdded | The System.Windows.Media.Visual that was added to the collection. |
System.Windows.DependencyObject | visualRemoved | The System.Windows.Media.Visual that was removed from the collection. |
See Also
SetAlignment(UIElement, ChartAlignment)
Sets the alignment of Chart Dock panel's child element.
Declaration
public static void SetAlignment(UIElement element, ChartAlignment alignment)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | The element. |
ChartAlignment | alignment | The alignment. |
SetDock(UIElement, ChartDock)
Sets the dock of Chart Dock panel's child element.
Declaration
public static void SetDock(UIElement element, ChartDock dock)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | The element. |
ChartDock | dock | The docking value. |