ClassLegendItemControl
Represents a legend item control, intended for use with RadLegend.
Definition
Namespace:Telerik.Windows.Controls.Legend
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Data Visualization")]
public class LegendItemControl : ContentControl
Inheritance: objectLegendItemControl
Constructors
LegendItemControl()
Declaration
public LegendItemControl()
Fields
ActualMarkerGeometryProperty
Identifies the ActualMarkerGeometry dependency property.
Declaration
public static readonly DependencyProperty ActualMarkerGeometryProperty
Field Value
DependencyProperty
DefaultMarkerGeometryProperty
Identifies the DefaultMarkerGeometry property.
Declaration
public static readonly DependencyProperty DefaultMarkerGeometryProperty
Field Value
DependencyProperty
IsHoveredProperty
Identifies the IsHovered property.
Declaration
public static readonly DependencyProperty IsHoveredProperty
Field Value
DependencyProperty
MarkerGeometryProperty
Identifies the MarkerGeometry property.
Declaration
public static readonly DependencyProperty MarkerGeometryProperty
Field Value
DependencyProperty
VisualStateProperty
Identifies the VisualState property.
Declaration
public static readonly DependencyProperty VisualStateProperty
Field Value
DependencyProperty
Properties
ActualMarkerGeometry
Gets the actual Geometry of the marker. If the MarkerGeometry property is not null, the value of this property is the same as the MarkerGeometry property. Otherwise the value of this property is the same as the value of the DefaultMarkerGeometry property.
Declaration
public Geometry ActualMarkerGeometry { get; }
Property Value
Geometry
DefaultMarkerGeometry
Gets or sets the default Geometry of the marker.
Declaration
public Geometry DefaultMarkerGeometry { get; set; }
Property Value
Geometry
IsHovered
Gets or sets a value indicating whether this item is hovered.
MarkerGeometry
Gets or sets the Geometry of the marker.
Declaration
public Geometry MarkerGeometry { get; set; }
Property Value
Geometry
VisualState
Gets or sets the name of the visual state.
Methods
OnCreateAutomationPeer()
Creates a new LegendItemControlAutomationPeer instance.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnMouseEnter(MouseEventArgs)
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs that contains the event data.
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs that contains the event data.