WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartAdornmentsPresenter.ChartAdornmentContainer - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartAdornmentsPresenter.ChartAdornmentContainer

    Represents ChartAdornmentContainer.

    Inheritance
    System.Object
    ChartAdornmentsPresenter.ChartAdornmentContainer
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public class ChartAdornmentContainer : FrameworkElement, IDisposable

    Constructors

    ChartAdornmentContainer(ChartAdornment, ResourceDictionary)

    Initializes a new instance of the ChartAdornmentsPresenter.ChartAdornmentContainer class.

    Declaration
    public ChartAdornmentContainer(ChartAdornment ardorment, ResourceDictionary RD)
    Parameters
    Type Name Description
    ChartAdornment ardorment

    The ardorment.

    System.Windows.ResourceDictionary RD

    Fields

    LabelHorizontalAlignmentProperty

    Using a DependencyProperty as the backing store for LabelHorizontalAlignment. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelHorizontalAlignmentProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LabelVerticalAlignmentProperty

    Using a DependencyProperty as the backing store for LabelVerticalAlignment. This enables animation, styling, binding, etc...

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

    Properties

    Adornment

    Gets the adornment.

    Declaration
    public ChartAdornment Adornment { get; }
    Property Value
    Type Description
    ChartAdornment

    The adornment.

    ConnectorPresenter

    Gets the connector presenter.

    Declaration
    public ContentPresenter ConnectorPresenter { get; }
    Property Value
    Type Description
    System.Windows.Controls.ContentPresenter

    The connector presenter.

    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.

    LabelPresenter

    Gets the label presenter.

    Declaration
    public ContentPresenter LabelPresenter { get; }
    Property Value
    Type Description
    System.Windows.Controls.ContentPresenter

    The label presenter.

    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.

    PredefinedSymbol

    Gets the predefined symbol.

    Declaration
    public Control PredefinedSymbol { get; }
    Property Value
    Type Description
    System.Windows.Controls.Control

    The predefined symbol.

    SymbolOffset

    Gets the symbol offset.

    Declaration
    public Vector SymbolOffset { get; }
    Property Value
    Type Description
    System.Windows.Vector

    The symbol offset.

    SymbolPresenter

    Gets the label presenter.

    Declaration
    public ContentPresenter SymbolPresenter { get; }
    Property Value
    Type Description
    System.Windows.Controls.ContentPresenter

    The label presenter.

    VisualChildrenCount

    Gets the number of visual child elements within this element.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type Description
    System.Int32

    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.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    GetVisualChild(Int32)

    Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the requested child element in the collection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The requested child element. This should not return null; if the provided index is out of range, an exception is raised.

    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.

    OnRender(DrawingContext)

    When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.

    Declaration
    protected override void OnRender(DrawingContext drawingContext)
    Parameters
    Type Name Description
    System.Windows.Media.DrawingContext drawingContext

    The drawing instructions for a specific element. This context is provided to the layout system.

    Implements

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