IChartModifierBase
A Base interface for common shared properties between ChartModifiers in the 2D and 3D Ultrachart libraries
Implements: IReceiveMouseEvents, INotifyPropertyChanged
Properties
public object DataContext { get; set; }
value = iChartModifierBase.DataContext
iChartModifierBase.DataContext = value
Gets or sets the DataContext for this Chart Modifier
public bool IsAttached { get; set; }
value = iChartModifierBase.IsAttached
iChartModifierBase.IsAttached = value
Gets or sets whether this Chart Modifier is attached to a parent UltrachartSurface
public string ModifierName { get; }
value = iChartModifierBase.ModifierName
Gets modifier name
public IChartModifierSurface ModifierSurface { get; }
value = iChartModifierBase.ModifierSurface
Gets the IChartModifierSurface instance on the parent UltrachartSurface, which acts as a canvas to place UIElements
public bool ReceiveHandledEvents { get; }
value = iChartModifierBase.ReceiveHandledEvents
If true, this IChartModifier can receive handled events. Chart modifiers work similarly to mouse event handlers in WPF and Silverlight. If a modifier further up the stack receives an event and handles it, then subsequent modifiers do not receive the event. This property overrides this behaviour.
public IServiceContainer Services { get; set; }
value = iChartModifierBase.Services
iChartModifierBase.Services = value
Gets the ServiceContainer which provides access to services throughout Ultrachart. ServiceContainers are created one per UltrachartSurface instance, and shared between peripheral components such as AxisBase, BaseRenderableSeries, ChartModifierBase instances. For a full list of available services, see the remarks on ServiceContainer
Methods
public void OnAttached()
iChartModifierBase.OnAttached()
Called when the Chart Modifier is attached to the Chart Surface
public void OnDetached()
iChartModifierBase.OnDetached()
Called immediately before the Chart Modifier is detached from the Chart Surface