ApiElementBase

StockSharp.Xaml.Charting.ChartModifiers

Base class to expose properties and methods for AnnotationBase derived types and ChartModifierBase derived types

Herda de: ContentControl

Implementa: INotifyPropertyChanged

Propriedades

IsAttached : bool

Gets or sets whether this Element is attached to a parent UltrachartSurface

ModifierSurface : IChartModifierSurface

Gets the IChartModifierSurface instance on the parent UltrachartSurface, which acts as a canvas to place UIElements

ParentSurface : IUltrachartSurface

Gets or sets the parent UltrachartSurface to perform operations on

RootGrid : IMainGrid

Gets the IMainGrid which is the root component for the UltrachartSurface, containing the XAxis, YAxes, ModifierSurface, RenderSurface and GridLinesPanel

Services : IServiceContainer

Gets or sets a IServiceContainer container

XAxes : IEnumerable<IAxis>

Returns the XAxes on the parent UltrachartSurface

XAxis : IAxis

Gets the primary XAxis instance from the parent XAxes collection

YAxes : IEnumerable<IAxis>

Returns the YAxes on the parent UltrachartSurface

YAxis : IAxis

Gets the primary YAxis instance from the parent YAxes collection

Métodos

GetAndAssertTemplateChild``1(string)

Gets the TemplateChild by the specified name and casts to type , asserting that the result is not null

childName
Name of the templated part.

Retorna: The template part instance

GetXAxis(string) : IAxis

Gets the XAxis IAxis instance on the parent UltrachartSurface at the specified AxisAlignment

GetYAxis(string) : IAxis

Gets the YAxis IAxis instance on the parent UltrachartSurface at the specified AxisAlignment

OnAttached()

Called when the element is attached to the Chart Surface

OnDetached()

Called immediately before the element is detached from the Chart Surface

OnInvalidateParentSurface()

Raises the InvalidateUltrachartMessage which causes the parent UltrachartSurface to invalidate

OnPropertyChanged(string)

Raises the PropertyChanged event, as part of INotifyPropertyChanged implementation

propertyName
Name of the property.

Eventos

PropertyChanged : PropertyChangedEventHandler

Occurs when a property changes in the INotifyPropertyChanged implementation