alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Struct SliderStepDuration

    Options to set the StepDuration for date discrete support.

    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Syncfusion.Maui.Sliders
    Assembly: Syncfusion.Maui.Sliders.dll
    Syntax
    [TypeConverter(typeof(SliderStepDurationConverter))]
    public struct SliderStepDuration

    Constructors

    SliderStepDuration(int, int, double, double, double, double)

    Options to set the StepDuration for date discrete support.

    Declaration
    public SliderStepDuration(int years = 0, int months = 0, double days = 0, double hours = 0, double minutes = 0, double seconds = 0)
    Parameters
    Type Name Description
    int years
    int months
    double days
    double hours
    double minutes
    double seconds

    Properties

    Days

    Gets or sets the interval in days for StepDuration.

    Declaration
    public readonly double Days { get; }
    Property Value
    Type
    double

    HasValue

    Gets whether SliderStepDuration has value.

    Declaration
    public bool HasValue { get; }
    Property Value
    Type
    bool

    Hours

    Gets or sets the interval in hours for StepDuration.

    Declaration
    public readonly double Hours { get; }
    Property Value
    Type
    double

    Minutes

    Gets or sets the interval in minutes for StepDuration.

    Declaration
    public readonly double Minutes { get; }
    Property Value
    Type
    double

    Months

    Gets or sets the interval in months for StepDuration.

    Declaration
    public readonly int Months { get; }
    Property Value
    Type
    int

    Seconds

    Gets or sets the interval in seconds for StepDuration.

    Declaration
    public readonly double Seconds { get; }
    Property Value
    Type
    double

    Years

    Gets or sets the interval in years for StepDuration.

    Declaration
    public readonly int Years { get; }
    Property Value
    Type
    int

    Methods

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(SliderStepDuration, SliderStepDuration)

    Indicates whether two StepDuration instances are equal.

    Declaration
    public static bool operator ==(SliderStepDuration source, SliderStepDuration target)
    Parameters
    Type Name Description
    SliderStepDuration source
    SliderStepDuration target
    Returns
    Type
    bool

    operator !=(SliderStepDuration, SliderStepDuration)

    Indicates whether two StepDuration instances are not equal.

    Declaration
    public static bool operator !=(SliderStepDuration source, SliderStepDuration target)
    Parameters
    Type Name Description
    SliderStepDuration source
    SliderStepDuration target
    Returns
    Type
    bool
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved