Class
LegendItemControl

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

Definition

Namespace:Telerik.Windows.Controls.Legend

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Visualization")]
public class LegendItemControl : ContentControl

Inheritance: objectLegendItemControl

Constructors

LegendItemControl()

Declaration

cs-api-definition
public LegendItemControl()

Fields

ActualMarkerGeometryProperty

Identifies the ActualMarkerGeometry dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualMarkerGeometryProperty

Field Value

DependencyProperty

DefaultMarkerGeometryProperty

Identifies the DefaultMarkerGeometry property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultMarkerGeometryProperty

Field Value

DependencyProperty

IsHoveredProperty

Identifies the IsHovered property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsHoveredProperty

Field Value

DependencyProperty

MarkerGeometryProperty

Identifies the MarkerGeometry property.

Declaration

cs-api-definition
public static readonly DependencyProperty MarkerGeometryProperty

Field Value

DependencyProperty

VisualStateProperty

Identifies the VisualState property.

Declaration

cs-api-definition
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

cs-api-definition
public Geometry ActualMarkerGeometry { get; }

Property Value

Geometry

DefaultMarkerGeometry

Gets or sets the default Geometry of the marker.

Declaration

cs-api-definition
public Geometry DefaultMarkerGeometry { get; set; }

Property Value

Geometry

IsHovered

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

Declaration

cs-api-definition
public bool IsHovered { get; set; }

Property Value

bool

MarkerGeometry

Gets or sets the Geometry of the marker.

Declaration

cs-api-definition
public Geometry MarkerGeometry { get; set; }

Property Value

Geometry

VisualState

Gets or sets the name of the visual state.

Declaration

cs-api-definition
public string VisualState { get; set; }

Property Value

string

Methods

OnCreateAutomationPeer()

Creates a new LegendItemControlAutomationPeer instance.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs that contains the event data.