New to Telerik UI for WPFStart a free 30-day trial

Represents a legend item control, intended for use with RadLegend.

Definition

Namespace:Telerik.Windows.Controls.Legend

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[TelerikToolboxCategory("Data Visualization")]
public class LegendItemControl : ContentControl

Inheritance: objectLegendItemControl

Constructors

C#
public LegendItemControl()

Fields

Identifies the ActualMarkerGeometry dependency property.

C#
public static readonly DependencyProperty ActualMarkerGeometryProperty

Identifies the DefaultMarkerGeometry property.

C#
public static readonly DependencyProperty DefaultMarkerGeometryProperty

IsHoveredProperty

DependencyProperty

Identifies the IsHovered property.

C#
public static readonly DependencyProperty IsHoveredProperty

MarkerGeometryProperty

DependencyProperty

Identifies the MarkerGeometry property.

C#
public static readonly DependencyProperty MarkerGeometryProperty

VisualStateProperty

DependencyProperty

Identifies the VisualState property.

C#
public static readonly DependencyProperty VisualStateProperty

Properties

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.

C#
public Geometry ActualMarkerGeometry { get; }

Gets or sets the default Geometry of the marker.

C#
public Geometry DefaultMarkerGeometry { get; set; }

Gets or sets a value indicating whether this item is hovered.

C#
public bool IsHovered { get; set; }

Gets or sets the Geometry of the marker.

C#
public Geometry MarkerGeometry { get; set; }

Gets or sets the name of the visual state.

C#
public string VisualState { get; set; }

Methods

Creates a new LegendItemControlAutomationPeer instance.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Invoked when an unhandled  attached event is raised on this element. Implement this method to add class handling for this event.

C#
protected override void OnMouseEnter(MouseEventArgs e)
Parameters:eMouseEventArgs

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.

C#
protected override void OnMouseLeave(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs that contains the event data.