ClassChartAnnotationLabelDefinition
Describes the appearance of the labels within a ChartAnnotation.
Definition
Namespace:Telerik.UI.Xaml.Controls.Chart
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class ChartAnnotationLabelDefinition : DependencyObject
Inheritance: objectChartAnnotationLabelDefinition
Constructors
ChartAnnotationLabelDefinition()
Declaration
public ChartAnnotationLabelDefinition()
Fields
DefaultVisualStyleProperty
Identifies the DefaultVisualStyle property.
Declaration
public static readonly DependencyProperty DefaultVisualStyleProperty
Field Value
DependencyProperty
FormatProperty
Identifies the Format property.
Declaration
public static readonly DependencyProperty FormatProperty
Field Value
DependencyProperty
HorizontalAlignmentProperty
Identifies the HorizontalAlignment property.
Declaration
public static readonly DependencyProperty HorizontalAlignmentProperty
Field Value
DependencyProperty
HorizontalOffsetProperty
Identifies the HorizontalOffset property.
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
DependencyProperty
LabelTemplateProperty
Identifies the Template property.
Declaration
public static readonly DependencyProperty LabelTemplateProperty
Field Value
DependencyProperty
LocationProperty
Identifies the Location property.
Declaration
public static readonly DependencyProperty LocationProperty
Field Value
DependencyProperty
VerticalAlignmentProperty
Identifies the VerticalAlignment property.
Declaration
public static readonly DependencyProperty VerticalAlignmentProperty
Field Value
DependencyProperty
VerticalOffsetProperty
Identifies the VerticalOffset property.
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
DependencyProperty
Properties
DefaultVisualStyle
Gets or sets the Style instance that defines the appearance of the default label visual - TextBlock instance.
Declaration
public Style DefaultVisualStyle { get; set; }
Property Value
Style
Format
Gets or sets the string used to format the label content, using the method.
HorizontalAlignment
Gets or sets the horizontal alignment value that can be used as a secondary mechanism in conjunction with the primary Location property value.
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
HorizontalAlignment
HorizontalAlignment property value is not applicable if Location property is set to either ChartAnnotationLabelLocation.Left, or ChartAnnotationLabelLocation.Right.
Remarks
Annotations provide a mechanism for label positioning that consists of three layers -- primary (Location), secondary (Horizontal/VerticalAlignment), and tertiary (Horizontal/VerticalOffset).
HorizontalOffset
Gets or sets the horizontal offset in pixels that can be specified besides the primary Location and the secondary HorizontalAlignment properties.
Declaration
public double HorizontalOffset { get; set; }
Property Value
Remarks
Annotations provide a mechanism for label positioning that consists of three layers -- primary (Location), secondary (Horizontal/VerticalAlignment), and tertiary (Horizontal/VerticalOffset).
LabelTemplate
Gets or sets the DataTemplate instance that may be used to define custom-looking label.
Declaration
public DataTemplate LabelTemplate { get; set; }
Property Value
DataTemplate
Location
Gets or sets the ChartAnnotationLabelLocation value that defines the primary location of the annotation label visual.
Declaration
public ChartAnnotationLabelLocation Location { get; set; }
Property Value
Remarks
Annotations provide a mechanism for label positioning that consists of three layers -- primary (Location), secondary (Horizontal/VerticalAlignment), and tertiary (Horizontal/VerticalOffset).
VerticalAlignment
Gets or sets the vertical alignment value that can be used in conjunction with the primary Location property value.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
VerticalAlignment
VerticalAlignment property value is not applicable if Location property is set to either ChartAnnotationLabelLocation.Top, or ChartAnnotationLabelLocation.Bottom.
Remarks
Annotations provide a mechanism for label positioning that consists of three layers -- primary (Location), secondary (Horizontal/VerticalAlignment), and tertiary (Horizontal/VerticalOffset).
VerticalOffset
Gets or sets the vertical offset in pixels that can be specified besides the primary Location and the secondary VerticalAlignment properties.
Declaration
public double VerticalOffset { get; set; }
Property Value
Remarks
Annotations provide a mechanism for label positioning that consists of three layers -- primary (Location), secondary (Horizontal/VerticalAlignment), and tertiary (Horizontal/VerticalOffset).