ApiElementBase
Base class to expose properties and methods for AnnotationBase derived types and ChartModifierBase derived types
Erbt von: ContentControl
Implementiert: INotifyPropertyChanged
Eigenschaften
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
YAxes : IEnumerable<IAxis>
Returns the YAxes on the parent UltrachartSurface
Methoden
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.
Rückgabe: 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.
Ereignisse
PropertyChanged : PropertyChangedEventHandler
Occurs when a property changes in the INotifyPropertyChanged implementation