menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScaleStyle - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScaleStyle

    This class used to customize the appearance of major and minor scale ticks, labels and gridlines in SfDateTimeRangeNavigator.

    Inheritance
    System.Object
    ScaleStyle
    Namespace: Syncfusion.RangeNavigator.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class ScaleStyle : Element, IThemeElement

    Constructors

    ScaleStyle()

    Initializes a new instance of the ScaleStyle class.

    Declaration
    public ScaleStyle()

    Fields

    GridLineColorProperty

    Gets or sets the gridlines color. This is a bindable property.

    Declaration
    public static readonly BindableProperty GridLineColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    GridLineDashArrayProperty

    Gets or sets the dashes for gridlines. This is a bindable property.

    Declaration
    public static readonly BindableProperty GridLineDashArrayProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    GridLineWidthProperty

    Gets or sets the gridline width. This is a bindable property.

    Declaration
    public static readonly BindableProperty GridLineWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    IsVisibleProperty

    Gets or sets a value indicating whether to enable or disable the visibility of the ScaleStyle. This is a bindable property.

    Declaration
    public static readonly BindableProperty IsVisibleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelAlignmentProperty

    Gets or sets the label alignment. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelAlignmentProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelFontAttributesProperty

    Gets or sets the font attributes of the label. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelFontAttributesProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelFontFamilyProperty

    Gets or sets the font family of the label. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelFontFamilyProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelFontSizeProperty

    Gets or sets the font size of the label. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelFontSizeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelMarginProperty

    Gets or sets the margin for the label. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelMarginProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelTextColorProperty

    Gets or sets the label text color. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelTextColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    PositionProperty

    Gets or sets the position of the labels and ticks. This is a bindable property.

    Declaration
    public static readonly BindableProperty PositionProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SelectedLabelFontAttributesProperty

    Gets or sets the font attributes of the selected label. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectedLabelFontAttributesProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SelectedLabelFontFamilyProperty

    Gets or Sets the font family of the selected label. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectedLabelFontFamilyProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SelectedLabelFontSizeProperty

    Gets or sets the font size of the selected label. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectedLabelFontSizeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SelectedLabelMarginProperty

    Gets or sets the margin for the selected label. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectedLabelMarginProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SelectedLabelTextColorProperty

    Gets or sets the selected label text color. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectedLabelTextColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ShowGridLinesProperty

    Gets or sets a value indicating whether to show or hide the gridlines. This is a bindable property.

    Declaration
    public static readonly BindableProperty ShowGridLinesProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TickLineColorProperty

    Gets or sets the tick line color. This is a bindable property.

    Declaration
    public static readonly BindableProperty TickLineColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TickLineWidthProperty

    Gets or sets the tick line width. This is a bindable property.

    Declaration
    public static readonly BindableProperty TickLineWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    GridLineColor

    Gets or sets the gridlines color.

    Declaration
    public Color GridLineColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    GridLineDashArray

    Gets or sets the dashes for gridlines.

    Declaration
    public double[] GridLineDashArray { get; set; }
    Property Value
    Type
    System.Double[]

    GridLineWidth

    Gets or sets the gridline width.

    Declaration
    public double GridLineWidth { get; set; }
    Property Value
    Type
    System.Double

    IsVisible

    Gets or sets a value indicating whether to enable or disable the visibility of the ScaleStyle.

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type
    System.Boolean

    LabelAlignment

    Gets or sets the label alignment.

    Declaration
    public LabelAlignment LabelAlignment { get; set; }
    Property Value
    Type
    LabelAlignment

    LabelFontAttributes

    Gets or sets the font attributes of the label.

    Declaration
    public FontAttributes LabelFontAttributes { get; set; }
    Property Value
    Type
    Xamarin.Forms.FontAttributes

    LabelFontFamily

    Gets or sets the font family of the label.

    Declaration
    public string LabelFontFamily { get; set; }
    Property Value
    Type
    System.String

    LabelFontSize

    Gets or sets the font size of the label.

    Declaration
    public double LabelFontSize { get; set; }
    Property Value
    Type
    System.Double

    LabelMargin

    Gets or sets the margin for the label.

    Declaration
    public Thickness LabelMargin { get; set; }
    Property Value
    Type
    Xamarin.Forms.Thickness

    LabelTextColor

    Gets or sets the label text color.

    Declaration
    public Color LabelTextColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    Position

    Gets or sets the position of the labels and ticks.

    Declaration
    public ScalePosition Position { get; set; }
    Property Value
    Type
    ScalePosition

    SelectedLabelFontAttributes

    Gets or sets the font attributes of the selected label.

    Declaration
    public FontAttributes SelectedLabelFontAttributes { get; set; }
    Property Value
    Type
    Xamarin.Forms.FontAttributes

    SelectedLabelFontFamily

    Gets or Sets the font family of the selected label.

    Declaration
    public string SelectedLabelFontFamily { get; set; }
    Property Value
    Type
    System.String

    SelectedLabelFontSize

    Gets or sets the font size of the selected label.

    Declaration
    public double SelectedLabelFontSize { get; set; }
    Property Value
    Type
    System.Double

    SelectedLabelMargin

    Gets or sets the margin for the selected label.

    Declaration
    public Thickness SelectedLabelMargin { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Thickness

    This property takes the Xamarin.Forms.Thickness value.

    SelectedLabelTextColor

    Gets or sets the selected label text color.

    Declaration
    public Color SelectedLabelTextColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    ShowGridLines

    Gets or sets a value indicating whether to show or hide the gridlines.

    Declaration
    public bool ShowGridLines { get; set; }
    Property Value
    Type
    System.Boolean

    TickLineColor

    Gets or sets the tick line color.

    Declaration
    public Color TickLineColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    TickLineWidth

    Gets or sets the tick line width.

    Declaration
    public double TickLineWidth { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved