GaugeTextIndicator
Represents a text indicator for gauge controls that displays text content based on gauge values.
Definition
Namespace:Telerik.Maui.Controls.Gauges
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class GaugeTextIndicator : GaugeSingleValueIndicatorBase
Inheritance: objectGaugeIndicatorBaseGaugeSingleValueIndicatorBaseGaugeTextIndicator
Inherited Members
Constructors
Initializes a new instance of the GaugeTextIndicator class.
public GaugeTextIndicator()
Fields
FontAttributesProperty
BindableProperty
Identifies the FontAttributes property.
public static readonly BindableProperty FontAttributesProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize property.
public static readonly BindableProperty FontSizeProperty
HorizontalTextPlacementProperty
BindableProperty
Identifies the HorizontalTextPlacement property.
public static readonly BindableProperty HorizontalTextPlacementProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TextMarginProperty
BindableProperty
Identifies the TextMargin property.
public static readonly BindableProperty TextMarginProperty
TextProperty
BindableProperty
Identifies the Text property.
public static readonly BindableProperty TextProperty
VerticalTextPlacementProperty
BindableProperty
Identifies the VerticalTextPlacement property.
public static readonly BindableProperty VerticalTextPlacementProperty
Properties
FontAttributes
FontAttributes
Gets or sets the font attributes of the text displayed by the indicator.
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family of the text displayed by the indicator.
public string FontFamily { get; set; }
Gets or sets the font size of the text displayed by the indicator.
public double FontSize { get; set; }
Gets or sets a value that indicates the horizontal placement of the text. This property is taken into consideration only when the indicator is in a radial or a horizontal gauge.
public HorizontalPlacement HorizontalTextPlacement { get; set; }
Gets or sets the text content displayed by the indicator.
public string Text { get; set; }
TextColor
Color
Gets or sets the color of the text displayed by the indicator.
public Color TextColor { get; set; }
TextMargin
Thickness
Gets or sets the margin around the text content.
public Thickness TextMargin { get; set; }
Gets or sets a value that indicates the vertical placement of the text. This property is taken into consideration only when the indicator is in a radial or a vertical gauge.
public VerticalPlacement VerticalTextPlacement { get; set; }
Methods
Called when a property value changes.
protected override void OnPropertyChanged(string propertyName = null)
The name of the property that changed.