TooltipModifierBase

StockSharp.Xaml.Charting.ChartModifiers

The TooltipModifierBase is part of the ChartModifier API, which factors out handling of Axis and Chart Label templates, and provides a mouse-over templated tooltip to bind to a custom DataContext, provided by the output of the Hit-Test operation on a IRenderableSeries

Hereda de: InspectSeriesModifierBase

Constructores

TooltipModifierBase()

Initializes a new instance of the TooltipModifierBase class.

Propiedades

AxisLabelTemplate : ControlTemplate

Gets or sets the AxisLabelTemplate used for the labels on axes

AxisLabelTemplateSelector : IDataTemplateSelector

Gets or sets instance of IDataTemplateSelector which is used by modifier

DefaultAxisLabelTemplateSelector : IDataTemplateSelector

Gets default instance of AxisLabelTemplateSelector

DefaultAxisLabelTemplateSelectorStyle : Style

Gets or sets style for DefaultAxisLabelTemplateSelector

DefaultTooltipLabelTemplateSelector : IDataTemplateSelector

Gets default instance of TooltipLabelTemplateSelector

DefaultTooltipLabelTemplateSelectorStyle : Style

Gets or sets style for DefaultTooltipLabelTemplateSelector

LineOverlayStyle : Style

Gets or sets the style applied to the modifier overlays (TargetType=Line)

ShowAxisLabels : bool

Gets or sets value, indicates whether show labels on axes or not

ShowTooltipOn : ShowTooltipOptions

Gets or sets when to show tooltips

TooltipLabelTemplate : ControlTemplate

Gets or sets the TooltipLabelTemplate used for the labels on data-points

TooltipLabelTemplateSelector : IDataTemplateSelector

Gets or sets instance of IDataTemplateSelector which is used by modifier

Métodos

ClearAxesOverlay()

Clears Axis Overlays on the X and Y Axes

CreateFromTemplate(ControlTemplate, IDataTemplateSelector, object) : TemplatableControl

Creates instances of TemplatableControl based on passed . If == Null, the control is created based on passed .

template
The ControlTemplate to be applied
dataTemplateSelector
The object which is used to select a template for a new control
dataContext
The value which is used by to determine proper template
HasToShowTooltip() : bool

Checks ShowTooltipOn property and returns value, indicating whether the tooltip has to be shown

IsHitPointValid(HitTestInfo) : bool

When overridden in derived classes, indicates whether HitTestInfo result of hit-test should be returned from the Point) method.

hitTestInfo
OnAxisLabelTemplateChanged()

When overriden in a derived class, applies new template to axis labels, and

OnIsEnabledChanged()

Called when the IsEnabled property changes on this ChartModifierBase instance

OnModifierMouseDown(ModifierMouseArgs)

Called when a Mouse Button is pressed on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierMouseUp(ModifierMouseArgs)

Called when a Mouse Button is released on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnTooltipLabelTemplateChanged()

When overriden in a derived class, applies new template to tooltip label, and

OnXAxesCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when [X axes collection changed].

OnYAxesCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when [Y axes collection changed].

RecreateLabels()

Recreates Labels on the X and Y Axis

UpdateAxesOverlay(Point)

Updates the Axes Overlays on the X and Y Axis

Campos

AxisLabelTemplateProperty : DependencyProperty

Defines the AxisLabelTemplate DependencyProperty

AxisLabelTemplateSelectorProperty : DependencyProperty

Defines the AxisLabelTemplateSelector DependencyProperty

DefaultAxisLabelTemplateSelectorProperty : DependencyProperty

Defines the DefaultAxisLabelTemplateSelector DependencyProperty

DefaultAxisLabelTemplateSelectorStyleProperty : DependencyProperty

Defines the DefaultAxisLabelTemplateSelectorStyle DependencyProperty

DefaultTooltipLabelTemplateSelectorProperty : DependencyProperty

Defines the DefaultTooltipLabelTemplateSelector DependencyProperty

DefaultTooltipLabelTemplateSelectorStyleProperty : DependencyProperty

Defines the DefaultTooltipLabelTemplateSelectorStyle DependencyProperty

HoverDelayProperty : DependencyProperty

Defines HoverDelay DependencyProperty

LineOverlayStyleProperty : DependencyProperty

Defines the LineOverlayStyle DependencyProperty

ShowAxisLabelsProperty : DependencyProperty

Defines the ShowAxisLabels DependencyProperty

ShowTooltipOnProperty : DependencyProperty

Defines the ShowTooltipOn DependencyProperty

TooltipLabelTemplateProperty : DependencyProperty

Defines the LabelTemplate DependencyProperty

TooltipLabelTemplateSelectorProperty : DependencyProperty

Defines the LabelTemplateSelector DependencyProperty