LegendItemControl
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
public LegendItemControl()
Fields
ActualMarkerGeometryProperty
DependencyProperty
Identifies the ActualMarkerGeometry dependency property.
public static readonly DependencyProperty ActualMarkerGeometryProperty
DefaultMarkerGeometryProperty
DependencyProperty
Identifies the DefaultMarkerGeometry property.
public static readonly DependencyProperty DefaultMarkerGeometryProperty
IsHoveredProperty
DependencyProperty
Identifies the IsHovered property.
public static readonly DependencyProperty IsHoveredProperty
MarkerGeometryProperty
DependencyProperty
Identifies the MarkerGeometry property.
public static readonly DependencyProperty MarkerGeometryProperty
VisualStateProperty
DependencyProperty
Identifies the VisualState property.
public static readonly DependencyProperty VisualStateProperty
Properties
ActualMarkerGeometry
Geometry
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.
public Geometry ActualMarkerGeometry { get; }
DefaultMarkerGeometry
Geometry
Gets or sets the default Geometry of the marker.
public Geometry DefaultMarkerGeometry { get; set; }
Gets or sets a value indicating whether this item is hovered.
public bool IsHovered { get; set; }
MarkerGeometry
Geometry
Gets or sets the Geometry of the marker.
public Geometry MarkerGeometry { get; set; }
Gets or sets the name of the visual state.
public string VisualState { get; set; }
Methods
Creates a new LegendItemControlAutomationPeer instance.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseEnter(MouseEventArgs e)
The MouseEventArgs that contains the event data.
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseLeave(MouseEventArgs e)
The MouseEventArgs that contains the event data.