Class DateRange
Represents a range of the DateTime
Inheritance
System.Object
DateRange
Namespace: Syncfusion.UI.Xaml.Controls.Input
Assembly: Syncfusion.SfInput.UWP.dll
Syntax
public class DateRange : Object
Constructors
DateRange(DateTime)
Initializes a new instance of the DateRange class.
Declaration
public DateRange(DateTime startDate)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | startDate | represent the start date |
DateRange(DateTime, DateTime)
Initializes a new instance of the DateRange class.
Declaration
public DateRange(DateTime startDate, DateTime endDate)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | startDate | represents the start date |
System.DateTime | endDate | represents the end date |
Properties
EndDate
Gets or sets a start date of date range
Declaration
public DateTime EndDate { get; set; }
Property Value
Type |
---|
System.DateTime |
StartDate
Gets or sets a start date of date range
Declaration
public DateTime StartDate { get; set; }
Property Value
Type |
---|
System.DateTime |