MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SliderStepDuration

    Show / Hide Table of Contents

    Class SliderStepDuration

    Options to set the StepDuration for date discrete support.

    Inheritance
    System.Object
    SliderStepDuration
    Namespace: Syncfusion.Maui.Sliders
    Assembly: Syncfusion.Maui.Sliders.dll
    Syntax
    public sealed class SliderStepDuration : ValueType

    Constructors

    SliderStepDuration(Int32, Int32, 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
    System.Int32 years
    System.Int32 months
    System.Double days
    System.Double hours
    System.Double minutes
    System.Double seconds

    Properties

    Days

    Gets or sets the interval in days for StepDuration.

    Declaration
    public double Days { get; }
    Property Value
    Type Description
    System.Double

    HasValue

    Gets whether SliderStepDuration has value.

    Declaration
    public bool HasValue { get; }
    Property Value
    Type Description
    System.Boolean

    Hours

    Gets or sets the interval in hours for StepDuration.

    Declaration
    public double Hours { get; }
    Property Value
    Type Description
    System.Double

    Minutes

    Gets or sets the interval in minutes for StepDuration.

    Declaration
    public double Minutes { get; }
    Property Value
    Type Description
    System.Double

    Months

    Gets or sets the interval in months for StepDuration.

    Declaration
    public int Months { get; }
    Property Value
    Type Description
    System.Int32

    Seconds

    Gets or sets the interval in seconds for StepDuration.

    Declaration
    public double Seconds { get; }
    Property Value
    Type Description
    System.Double

    Years

    Gets or sets the interval in years for StepDuration.

    Declaration
    public int Years { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Equality(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 Description
    System.Boolean

    Inequality(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 Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved