Class ContentPointer
Represents the pointer that is used to indicate the value with any visual content.
Inherited Members
Namespace: Syncfusion.Maui.Gauges
Assembly: Syncfusion.Maui.Gauges.dll
Syntax
public class ContentPointer : MarkerPointer, IThemeElement
Examples
<gauge:SfRadialGauge>
<gauge:SfRadialGauge.Axes>
<gauge:RadialAxis>
<gauge:RadialAxis.Pointers>
<gauge:ContentPointer Value="20" >
<gauge:ContentPointer.Content>
<Grid HeightRequest = "25" WidthRequest="25">
<Ellipse Fill = "Blue" />
<Label Text="{Binding Value}" TextColor="White"
HorizontalOptions="Center" VerticalOptions="Center"/>
</Grid>
</gauge:ContentPointer.Content>
</gauge:ContentPointer>
</gauge:RadialAxis.Pointers>
</gauge:RadialAxis>
</gauge:SfRadialGauge.Axes>
</gauge:SfRadialGauge>
Constructors
ContentPointer()
Declaration
public ContentPointer()
Fields
ContentProperty
Identifies the Content bindable property.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Content bindable property. |
Properties
Content
Gets or sets the content of a ContentPointer.
Declaration
public View Content { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.View | An object that contains the pointer's visual content. The default value is |
Examples
<gauge:SfRadialGauge>
<gauge:SfRadialGauge.Axes>
<gauge:RadialAxis>
<gauge:RadialAxis.Pointers>
<gauge:ContentPointer Value="20" >
<gauge:ContentPointer.Content>
<Grid HeightRequest = "25" WidthRequest="25">
<Ellipse Fill = "Blue" />
<Label Text="{Binding Value}" TextColor="White"
HorizontalOptions="Center" VerticalOptions="Center"/>
</Grid>
</gauge:ContentPointer.Content>
</gauge:ContentPointer>
</gauge:RadialAxis.Pointers>
</gauge:RadialAxis>
</gauge:SfRadialGauge.Axes>
</gauge:SfRadialGauge>