Class
ChartSeriesLabelDefinition

Describes the appearance of the labels within a ChartSeries. A chart series can have multiple definitions, allowing for multiple labels per data point.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class ChartSeriesLabelDefinition : DependencyObject

Inheritance: objectChartSeriesLabelDefinition

Constructors

ChartSeriesLabelDefinition()

Declaration

cs-api-definition
public ChartSeriesLabelDefinition()

Fields

BindingProperty

Identifies the Binding property.

Declaration

cs-api-definition
public static readonly DependencyProperty BindingProperty

Field Value

DependencyProperty

DefaultVisualStyleProperty

Identifies the DefaultVisualStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultVisualStyleProperty

Field Value

DependencyProperty

FormatProperty

Identifies the Format property.

Declaration

cs-api-definition
public static readonly DependencyProperty FormatProperty

Field Value

DependencyProperty

HorizontalAlignmentProperty

Identifies the HorizontalAlignment property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalAlignmentProperty

Field Value

DependencyProperty

LabelTemplateProperty

Identifies the LabelTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelTemplateProperty

Field Value

DependencyProperty

LabelTemplateSelectorProperty

Identifies the LabelTemplateSelector property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelTemplateSelectorProperty

Field Value

DependencyProperty

MarginProperty

Identifies the Margin property.

Declaration

cs-api-definition
public static readonly DependencyProperty MarginProperty

Field Value

DependencyProperty

StrategyProperty

Identifies the DefaultVisualStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty StrategyProperty

Field Value

DependencyProperty

VerticalAlignmentProperty

Identifies the VerticalAlignment property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalAlignmentProperty

Field Value

DependencyProperty

Properties

Binding

Gets or sets the DataPointBinding instance that will retrieve the content of each label. Valid when the owning ChartSeries is data-bound.

Declaration

cs-api-definition
public DataPointBinding Binding { get; set; }

Property Value

DataPointBinding

DefaultVisualStyle

Gets or sets the Style instance that defines the appearance of the default label visuals - TextBlock instances.

Declaration

cs-api-definition
public Style DefaultVisualStyle { get; set; }

Property Value

Style

Format

Gets or sets the string used to format the label content, using the method.

Declaration

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

Property Value

string

HorizontalAlignment

Gets or sets the alignment along the X-axis of each label relative to the DataPoint it is associated to.

Declaration

cs-api-definition
public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

LabelTemplate

Gets or sets the DataTemplate instance that may be used to define custom-looking labels.

Declaration

cs-api-definition
public DataTemplate LabelTemplate { get; set; }

Property Value

DataTemplate

LabelTemplateSelector

Gets or sets the DataTemplateSelector instance that may be used to provide context-specific data templates, depending on the provided DataPoint.

Declaration

cs-api-definition
public DataTemplateSelector LabelTemplateSelector { get; set; }

Property Value

DataTemplateSelector

Margin

Gets or sets the that defines the offset of each label from the four box edges.

Declaration

cs-api-definition
public Thickness Margin { get; set; }

Property Value

Thickness

Strategy

Gets or sets a custom ChartSeriesLabelStrategy instance that may be used to completely override labels appearance, content and layout.

Declaration

cs-api-definition
public ChartSeriesLabelStrategy Strategy { get; set; }

Property Value

ChartSeriesLabelStrategy

VerticalAlignment

Gets or sets the alignment along the Y-axis of each label relative to the DataPoint it is associated to.

Declaration

cs-api-definition
public VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment