Class
GaugeTextIndicator

Represents a text indicator for gauge controls that displays text content based on gauge values.

Definition

Constructors

GaugeTextIndicator()

Initializes a new instance of the GaugeTextIndicator class.

Declaration

cs-api-definition
public GaugeTextIndicator()

Fields

FontAttributesProperty

Identifies the FontAttributes property.

Declaration

cs-api-definition
public static readonly BindableProperty FontAttributesProperty

Field Value

BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

HorizontalTextPlacementProperty

Identifies the HorizontalTextPlacement property.

Declaration

cs-api-definition
public static readonly BindableProperty HorizontalTextPlacementProperty

Field Value

BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextMarginProperty

Identifies the TextMargin property.

Declaration

cs-api-definition
public static readonly BindableProperty TextMarginProperty

Field Value

BindableProperty

TextProperty

Identifies the Text property.

Declaration

cs-api-definition
public static readonly BindableProperty TextProperty

Field Value

BindableProperty

VerticalTextPlacementProperty

Identifies the VerticalTextPlacement property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalTextPlacementProperty

Field Value

BindableProperty

Properties

FontAttributes

Gets or sets the font attributes of the text displayed by the indicator.

Declaration

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

Property Value

FontAttributes

FontFamily

Gets or sets the font family of the text displayed by the indicator.

Declaration

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

Property Value

string

FontSize

Gets or sets the font size of the text displayed by the indicator.

Declaration

cs-api-definition
public double FontSize { get; set; }

Property Value

double

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

cs-api-definition
public HorizontalPlacement HorizontalTextPlacement { get; set; }

Property Value

HorizontalPlacement

Text

Gets or sets the text content displayed by the indicator.

Declaration

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

Property Value

string

TextColor

Gets or sets the color of the text displayed by the indicator.

Declaration

cs-api-definition
public Color TextColor { get; set; }

Property Value

Color

TextMargin

Gets or sets the margin around the text content.

Declaration

cs-api-definition
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

cs-api-definition
public VerticalPlacement VerticalTextPlacement { get; set; }

Property Value

VerticalPlacement

Methods

OnPropertyChanged(string)

Called when a property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.