ChartCrosshairBehavior Class
Click or drag to resize
ChartCrosshairBehavior Class
A crosshair presented by two lines and labels that are positioned in accordance to the pointer position.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart (in Telerik.Windows.Controls.Chart.dll) Version: 2018.2.515.1050 (2018.2.515.1050)
Syntax
public class ChartCrosshairBehavior : ChartBehavior

The ChartCrosshairBehavior type exposes the following members.

Constructors
  NameDescription
Public methodChartCrosshairBehavior
Initializes a new instance of the ChartCrosshairBehavior class.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodClearValue
Clears the local value of the read only property.
(Defined by DependencyPropertyExtensions.)
Public Extension MethodCoerceValue
Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
(Defined by DependencyPropertyExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetValue
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Defined by DependencyPropertyExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberHorizontalLineLabelDefinitionProperty
Identifies the HorizontalLineLabelDefinition dependency property.
Public fieldStatic memberHorizontalLineLabelVisibilityProperty
Identifies the HorizontalLineLabelVisibility dependency property.
Public fieldStatic memberHorizontalLineStyleProperty
Identifies the HorizontalLineStyle dependency property.
Public fieldStatic memberHorizontalLineVisibilityProperty
Identifies the HorizontalLineVisibility dependency property.
Public fieldStatic memberVerticalLineLabelDefinitionProperty
Identifies the VerticalLineLabelDefinition dependency property.
Public fieldStatic memberVerticalLineLabelVisibilityProperty
Identifies the VerticalLineLabelVisibility dependency property.
Public fieldStatic memberVerticalLineStyleProperty
Identifies the VerticalLineStyle dependency property.
Public fieldStatic memberVerticalLineVisibilityProperty
Identifies the VerticalLineVisibility dependency property.
Top
Properties
  NameDescription
Protected propertyAdornerContainer
Gets the Canvas instance used by different behaviors to add some elements to the visual tree. Will be null if the behavior is not yet attached or the chart's template is not applied.
(Inherited from ChartBehavior.)
Public propertyChart
Gets the RadChartBase instance to which this behavior is attached.
(Inherited from ChartBehavior.)
Public propertyHorizontalLineLabelDefinition
Gets or sets the definition for the label of the horizontal line.
Public propertyHorizontalLineLabelVisibility
Gets or sets the visibility of the label of the horizontal line.
Public propertyHorizontalLineStyle
Gets or sets the style that is applied to the horizontal line.
Public propertyHorizontalLineVisibility
Gets or sets the visibility of the horizontal line.
Public propertyVerticalLineLabelDefinition
Gets or sets the definition for the label of the vertical line.
Public propertyVerticalLineLabelVisibility
Gets or sets the visibility of the label of the vertical line.
Public propertyVerticalLineStyle
Gets or sets the style that is applied to the vertical line.
Public propertyVerticalLineVisibility
Gets or sets the visibility of the vertical line.
Top
Events
  NameDescription
Public eventPositionChanged
Occurs when the position of the lines that represent the crosshair change.
Top
See Also