Class LegendItemControl
Represents a legend item control, intended for use with RadLegend.
Inheritance
Namespace: Telerik.Windows.Controls.Legend
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Data Visualization")]
public class LegendItemControl : ContentControl
Constructors
LegendItemControl()
Fields
ActualMarkerGeometryProperty
Identifies the ActualMarkerGeometry dependency property.
Declaration
public static readonly DependencyProperty ActualMarkerGeometryProperty
Field Value
System.Windows.DependencyProperty
|
DefaultMarkerGeometryProperty
Identifies the DefaultMarkerGeometry property.
Declaration
public static readonly DependencyProperty DefaultMarkerGeometryProperty
Field Value
System.Windows.DependencyProperty
|
IsHoveredProperty
Identifies the IsHovered property.
Declaration
public static readonly DependencyProperty IsHoveredProperty
Field Value
System.Windows.DependencyProperty
|
MarkerGeometryProperty
Identifies the MarkerGeometry property.
Declaration
public static readonly DependencyProperty MarkerGeometryProperty
Field Value
System.Windows.DependencyProperty
|
VisualStateProperty
Identifies the VisualState property.
Declaration
public static readonly DependencyProperty VisualStateProperty
Field Value
System.Windows.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
System.Windows.Media.Geometry
|
DefaultMarkerGeometry
Gets or sets the default Geometry of the marker.
Declaration
public Geometry DefaultMarkerGeometry { get; set; }
Property Value
System.Windows.Media.Geometry
|
IsHovered
Gets or sets a value indicating whether this item is hovered.
Declaration
public bool IsHovered { get; set; }
Property Value
System.Boolean
|
MarkerGeometry
Gets or sets the Geometry of the marker.
Declaration
public Geometry MarkerGeometry { get; set; }
Property Value
System.Windows.Media.Geometry
|
VisualState
Gets or sets the name of the visual state.
Declaration
public string VisualState { get; set; }
Property Value
System.String
|
Methods
OnCreateAutomationPeer()
Creates a new LegendItemControlAutomationPeer instance.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnMouseEnter(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter 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
System.Windows.Input.MouseEventArgs
e
The System.Windows.Input.MouseEventArgs that contains the event data. |
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave 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
System.Windows.Input.MouseEventArgs
e
The System.Windows.Input.MouseEventArgs that contains the event data. |