menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class RadialTickStyle

    Represents the style of axis ticks, that used to customize axis ticks color, length, thickness and dash array.

    Inheritance
    System.Object
    GaugeTickStyle
    RadialTickStyle
    Inherited Members
    GaugeTickStyle.Length
    GaugeTickStyle.LengthProperty
    GaugeTickStyle.Stroke
    GaugeTickStyle.StrokeDashArray
    GaugeTickStyle.StrokeDashArrayProperty
    GaugeTickStyle.StrokeProperty
    GaugeTickStyle.StrokeThickness
    GaugeTickStyle.StrokeThicknessProperty
    Namespace: Syncfusion.Maui.Gauges
    Assembly: Syncfusion.Maui.Gauges.dll
    Syntax
    public class RadialTickStyle : GaugeTickStyle, IThemeElement
    Examples
    <gauge:SfRadialGauge>
        <gauge:SfRadialGauge.Axes>
            <gauge:RadialAxis>
                <gauge:RadialAxis.MajorTickStyle>
                    <gauge:RadialTickStyle StrokeDashArray="2,2" />
                </gauge:RadialAxis.MajorTickStyle>
                <gauge:RadialAxis.MinorTickStyle>
                    <gauge:RadialTickStyle StrokeDashArray="1,1" />
                </gauge:RadialAxis.MinorTickStyle>
            </gauge:RadialAxis>
        </gauge:SfRadialGauge.Axes>
    </gauge:SfRadialGauge>

    Constructors

    RadialTickStyle()

    Initializes a new instance of the RadialTickStyle class.

    Declaration
    public RadialTickStyle()

    Fields

    LengthUnitProperty

    Identifies the LengthUnit bindable property.

    Declaration
    public static readonly BindableProperty LengthUnitProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for LengthUnit bindable property.

    Properties

    LengthUnit

    Gets or sets length unit of axis major or minor ticks.

    Declaration
    public SizeUnit LengthUnit { get; set; }
    Property Value
    Type
    SizeUnit
    Examples
    <gauge:SfRadialGauge>
        <gauge:SfRadialGauge.Axes>
            <gauge:RadialAxis>
                <gauge:RadialAxis.MajorTickStyle>
                    <gauge:RadialTickStyle Length="10" LengthUnit="Pixel" />
                </gauge:RadialAxis.MajorTickStyle>
                <gauge:RadialAxis.MinorTickStyle>
                    <gauge:RadialTickStyle Length="5" LengthUnit="Pixel" />
                </gauge:RadialAxis.MinorTickStyle>
            </gauge:RadialAxis>
        </gauge:SfRadialGauge.Axes>
    </gauge:SfRadialGauge>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved