Struct
DateTimePickerStep

Represents a structure that defines the date or time amount used as an interval for seletable options of the RadDateTimePicker control.

Definition

Namespace:Telerik.UI.Xaml.Controls.Input

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public struct DateTimePickerStep

Inherited Members ValueType.ToString()

Constructors

DateTimePickerStep(int, int, int, int, int, int)

Initializes a new instance of the DateTimePickerStep struct.

Declaration

cs-api-definition
public DateTimePickerStep(int year, int month, int day, int hour, int minute, int second)

Parameters

year

int

The year interval.

month

int

The month interval.

day

int

The day interval.

hour

int

The hour interval.

minute

int

The minute interval.

second

int

The second interval.

Fields

Default

The default structure value with step equal to 1 for all the date/time components.

Declaration

cs-api-definition
public static readonly DateTimePickerStep Default

Field Value

DateTimePickerStep

Properties

Day

Declaration

cs-api-definition
public readonly int Day { get; }

Property Value

int

Hour

Declaration

cs-api-definition
public readonly int Hour { get; }

Property Value

int

Minute

Declaration

cs-api-definition
public readonly int Minute { get; }

Property Value

int

Month

Declaration

cs-api-definition
public readonly int Month { get; }

Property Value

int

Second

Declaration

cs-api-definition
public readonly int Second { get; }

Property Value

int

Year

Declaration

cs-api-definition
public readonly int Year { get; }

Property Value

int

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides ValueType.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides ValueType.GetHashCode()

Operators

operator !=(DateTimePickerStep, DateTimePickerStep)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(DateTimePickerStep step1, DateTimePickerStep step2)

Parameters

step1

DateTimePickerStep

The first step.

step2

DateTimePickerStep

The second step.

Returns

bool

The result of the operator.

operator ==(DateTimePickerStep, DateTimePickerStep)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(DateTimePickerStep step1, DateTimePickerStep step2)

Parameters

step1

DateTimePickerStep

The first step.

step2

DateTimePickerStep

The second step.

Returns

bool

The result of the operator.