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