ClassGaugeTextIndicator
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
GaugeTextIndicator()
Initializes a new instance of the GaugeTextIndicator class.
Declaration
public GaugeTextIndicator()
Fields
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
BindableProperty
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
BindableProperty
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
BindableProperty
HorizontalTextPlacementProperty
Identifies the HorizontalTextPlacement property.
Declaration
public static readonly BindableProperty HorizontalTextPlacementProperty
Field Value
BindableProperty
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
BindableProperty
TextMarginProperty
Identifies the TextMargin property.
Declaration
public static readonly BindableProperty TextMarginProperty
Field Value
BindableProperty
TextProperty
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
BindableProperty
VerticalTextPlacementProperty
Identifies the VerticalTextPlacement property.
Declaration
public static readonly BindableProperty VerticalTextPlacementProperty
Field Value
BindableProperty
Properties
FontAttributes
Gets or sets the font attributes of the text displayed by the indicator.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
FontAttributes
FontFamily
Gets or sets the font family of the text displayed by the indicator.
FontSize
Gets or sets the font size of the text displayed by the indicator.
HorizontalTextPlacement
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.
Declaration
public HorizontalPlacement HorizontalTextPlacement { get; set; }
Property Value
Text
Gets or sets the text content displayed by the indicator.
TextColor
Gets or sets the color of the text displayed by the indicator.
Declaration
public Color TextColor { get; set; }
Property Value
Color
TextMargin
Gets or sets the margin around the text content.
Declaration
public Thickness TextMargin { get; set; }
Property Value
Thickness
VerticalTextPlacement
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.
Declaration
public VerticalPlacement VerticalTextPlacement { get; set; }
Property Value
Methods
OnPropertyChanged(string)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed.