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

Represents single information block on map legend. This class is designed for internal use.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class MapLegendCanvasItem : Control

Inheritance: objectMapLegendCanvasItem

Constructors

Initializes a new instance of the MapLegendCanvasItem class.

C#
public MapLegendCanvasItem()

Fields

FillProperty

DependencyProperty

Identifies the Fill dependency property.

C#
public static readonly DependencyProperty FillProperty

MarkerHeightProperty

DependencyProperty

Identifies the MarkerHeight dependency property.

C#
public static readonly DependencyProperty MarkerHeightProperty

MarkerWidthProperty

DependencyProperty

Identifies the MarkerWidth dependency property.

C#
public static readonly DependencyProperty MarkerWidthProperty

MaxProperty

DependencyProperty

Identifies the Max dependency property.

C#
public static readonly DependencyProperty MaxProperty

MinProperty

DependencyProperty

Identifies the Min dependency property.

C#
public static readonly DependencyProperty MinProperty

RadiusXProperty

DependencyProperty

Identifies the RadiusX dependency property.

C#
public static readonly DependencyProperty RadiusXProperty

RadiusYProperty

DependencyProperty

Identifies the RadiusY dependency property.

C#
public static readonly DependencyProperty RadiusYProperty

StrokeProperty

DependencyProperty

Identifies the Stroke dependency property.

C#
public static readonly DependencyProperty StrokeProperty

StrokeThicknessProperty

DependencyProperty

Identifies the StrokeThickness dependency property.

C#
public static readonly DependencyProperty StrokeThicknessProperty

Properties

Fill

Brush

Gets or sets the Brush that specifies how the shape's interior is painted.

C#
public Brush Fill { get; set; }

Gets or sets the height of the rectangle.

C#
public double MarkerHeight { get; set; }

Gets or sets the width of the rectangle.

C#
public double MarkerWidth { get; set; }

Gets or sets output string for Max value.

C#
public string Max { get; set; }

Gets or sets output string for Min value.

C#
public string Min { get; set; }

Gets or sets legend rectangle corner radius X.

C#
public double RadiusX { get; set; }

Gets or sets legend rectangle corner radius Y.

C#
public double RadiusY { get; set; }

Stroke

Brush

Gets or sets the Brush that specifies how the Shape outline is painted.

C#
public Brush Stroke { get; set; }

Gets or sets the width of the Shape outline.

C#
public double StrokeThickness { get; set; }

Methods

Called to arrange and size the content.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The computed size that is used to arrange the content.

Returns:

Size

The calculated size.

Measure override.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

Available size.

Returns:

Size

Size.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.