Class ChartAdornmentsPresenter
Represents ChartAdornmentsPresenter
Inheritance
Implements
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartAdornmentsPresenter : FrameworkElement, IDisposable
Constructors
ChartAdornmentsPresenter()
Initializes a new instance of the ChartAdornmentsPresenter class.
Declaration
public ChartAdornmentsPresenter()
Fields
AreaProperty
Identifies the Area dependency property.
Declaration
public static readonly DependencyProperty AreaProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AxesProperty
Identifies the Axes dependency property.
Declaration
public static readonly DependencyProperty AxesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
m_elements
Initializes m_elements
Declaration
public UIElementCollection m_elements
Field Value
Type |
---|
System.Windows.Controls.UIElementCollection |
VisibleSeriesProperty
Identifies the VisibleSeries dependency property.
Declaration
public static readonly DependencyProperty VisibleSeriesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Area
Gets or sets the Area. This is a dependency property.
Declaration
public ChartArea Area { get; set; }
Property Value
Type | Description |
---|---|
ChartArea | The Area value. |
Axes
Gets or sets the Axes. This is a dependency property.
Declaration
public ChartAxesCollection Axes { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Windows.Chart.ChartAxesCollection | The Axes value. |
VisibleSeries
Gets or sets the VisibleSeries. This is a dependency property.
Declaration
public VisibleSeriesCollection VisibleSeries { get; set; }
Property Value
Type | Description |
---|---|
VisibleSeriesCollection | The VisibleSeries. |
VisualChildrenCount
Gets the number of visual child elements within this element.
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type |
---|
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()
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 thrown. |
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. |