Struct SliderStepDuration
Options to set the StepDuration for date discrete support.
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
Properties
Days
Gets or sets the interval in days for StepDuration.
Declaration
public readonly double Days { get; }
Property Value
HasValue
Declaration
public bool HasValue { get; }
Property Value
Hours
Gets or sets the interval in hours for StepDuration.
Declaration
public readonly double Hours { get; }
Property Value
Minutes
Gets or sets the interval in minutes for StepDuration.
Declaration
public readonly double Minutes { get; }
Property Value
Months
Gets or sets the interval in months for StepDuration.
Declaration
public readonly int Months { get; }
Property Value
Seconds
Gets or sets the interval in seconds for StepDuration.
Declaration
public readonly double Seconds { get; }
Property Value
Years
Gets or sets the interval in years for StepDuration.
Declaration
public readonly int Years { get; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(SliderStepDuration, SliderStepDuration)
Indicates whether two StepDuration instances are equal.
Declaration
public static bool operator ==(SliderStepDuration source, SliderStepDuration target)
Parameters
Returns
operator !=(SliderStepDuration, SliderStepDuration)
Indicates whether two StepDuration instances are not equal.
Declaration
public static bool operator !=(SliderStepDuration source, SliderStepDuration target)
Parameters
Returns