menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContentPointer - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContentPointer

    Represents the pointer that is used to indicate the value with any visual content.

    Inheritance
    System.Object
    RadialPointer
    MarkerPointer
    ContentPointer
    Inherited Members
    MarkerPointer.Offset
    MarkerPointer.OffsetProperty
    MarkerPointer.OffsetUnit
    MarkerPointer.OffsetUnitProperty
    RadialPointer.AnimationDuration
    RadialPointer.AnimationDurationProperty
    RadialPointer.AnimationEasing
    RadialPointer.AnimationEasingProperty
    RadialPointer.EnableAnimation
    RadialPointer.EnableAnimationProperty
    RadialPointer.IsInteractive
    RadialPointer.IsInteractiveProperty
    RadialPointer.StepFrequency
    RadialPointer.StepFrequencyProperty
    RadialPointer.Value
    RadialPointer.ValueChangeCompleted
    RadialPointer.ValueChanged
    RadialPointer.ValueChangeStarted
    RadialPointer.ValueChanging
    RadialPointer.ValueProperty
    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 null.

    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>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved