ModifierGroup

StockSharp.Xaml.Charting.ChartModifiers

Allows a collection of modifiers to be set on the ChartModifier property. Child modifiers are stored in the ChildModifiers collection, which is backed by a DependencyProperty so may be bound to in Xaml.

Inherits: MasterSlaveChartModifier

Constructors

ModifierGroup()

Initializes a new instance of the ModifierGroup class.

ModifierGroup(IChartModifier[])

Initializes a new instance of the ModifierGroup class.

childModifiers
The child modifier collection.

Properties

ChildModifiers : ObservableCollection<IChartModifier>

Gets or sets a collection of child modifiers in this group

Item : IChartModifier

Gets the IChartModifier with the specified name.

name
The name.
Item : IChartModifier

Gets the IChartModifier at the specified index.

index
The index.

Methods

HasModifier(Type) : bool

Determines whether the current ModifierGroup has a child modifier of the desired type

desiredType
The type of child modifier to search for

Returns: true if the current ModifierGroup has a chlid modifier by this type; otherwise, false.

OnAnnotationCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when the AnnotationCollection changes

OnAttached()

Called when the Chart Modifier is attached to the Chart Surface

OnDataContextChanged(object, DependencyPropertyChangedEventArgs)

Called when the DataContext of the ChartModifierBase changes

sender
The sender.
e
The DependencyPropertyChangedEventArgs instance containing the event data.
OnDetached()

Called immediately before the Chart Modifier is detached from the Chart Surface

OnIsEnabledChanged()

Called when the IsEnabled property changes on this ChartModifierBase instance

OnMasterMouseLeave(ModifierMouseArgs)

Called when the mouse leaves the Master of current MouseEventGroup

e
OnModifierDoubleClick(ModifierMouseArgs)

Called when a Mouse DoubleClick occurs on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierMouseDown(ModifierMouseArgs)

Called when a Mouse Button is pressed on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierMouseMove(ModifierMouseArgs)

Called when the Mouse is moved on the parent UltrachartSurface

e
Arguments detailing the mouse move operation
OnModifierMouseUp(ModifierMouseArgs)

Called when a Mouse Button is released on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierMouseWheel(ModifierMouseArgs)

Called when the Mouse Wheel is scrolled on the parent UltrachartSurface

e
Arguments detailing the mouse wheel operation
OnModifierTouchDown(ModifierTouchManipulationArgs)

Called when a Multi-Touch Down interaction occurs on the parent UltrachartSurface

e
Arguments detailing the manipulation operation
OnModifierTouchMove(ModifierTouchManipulationArgs)

Called when a Multi-Touch Move interaction occurs on the parent UltrachartSurface

e
Arguments detailing the manipulation operation
OnModifierTouchUp(ModifierTouchManipulationArgs)

Called when a Multi-Touch Up interaction occurs on the parent UltrachartSurface

e
Arguments detailing the manipulation operation
OnXAxesCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called with the XAxesAxisCollection changes

OnYAxesCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called with the YAxesAxisCollection changes

ReadXml(XmlReader)

Generates ChartModifierBase from its XML representation.

reader
ResetInertia()

Instantly stops any inertia that can be associated with this modifier.

WriteXml(XmlWriter)

Converts ChartModifierBase into its XML representation.

writer

Fields

ChildModifiersProperty : DependencyProperty

Defines the ChildModifiers DependencyProperty