menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SmithChartDockPanel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SmithChartDockPanel

    Arranges child elements around the edges of the panel.
    Optionally, last added child element can occupy the remaining space.

    Inheritance
    System.Object
    SmithChartDockPanel
    Namespace: Syncfusion.UI.Xaml.SmithChart
    Assembly: Syncfusion.SfSmithChart.WPF.dll
    Syntax
    public class SmithChartDockPanel : Panel

    Constructors

    SmithChartDockPanel()

    Declaration
    public SmithChartDockPanel()

    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

    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.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved