menu

WinForms

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

    Show / Hide Table of Contents

    Class ChartAdornmentContainer

    Represents the panel which contains all the ChartAdornment elements.

    Inheritance
    System.Object
    ChartAdornmentContainer
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.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
    System.Windows.DependencyProperty

    LabelVerticalAlignmentProperty

    The DependencyProperty for LabelVerticalAlignment property.

    Declaration
    public static readonly DependencyProperty LabelVerticalAlignmentProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    SymbolProperty

    The DependencyProperty for Symbol property.

    Declaration
    public static readonly DependencyProperty SymbolProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    LabelHorizontalAlignment

    Gets or sets the label horizontal alignment.

    Declaration
    public HorizontalAlignment LabelHorizontalAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.HorizontalAlignment

    The label horizontal alignment.

    LabelVerticalAlignment

    Gets or sets the label vertical alignment.

    Declaration
    public VerticalAlignment LabelVerticalAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.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
    System.Windows.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
    System.Windows.Size finalSize

    The final area within the parent that this object should use to arrange itself and its children.

    Returns
    Type Description
    System.Windows.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
    System.Windows.Size availableSize

    The Available 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.

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