Class CustomRange
Predefined date time range that can be used for easier UI selection.
Inheritance
Namespace: Telerik.Windows.Controls.DateRangePicker
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class CustomRange : Object
Constructors
CustomRange()
CustomRange(String)
Initializes a new instance of the CustomRange class.
Declaration
public CustomRange(string name)
Parameters
System.String
name
Custom range UI label. |
Properties
EndDate
Gets or sets the end date of the range.
Declaration
public Nullable<DateTime> EndDate { get; set; }
Property Value
System.Nullable<System.DateTime>
|
IsSelectedByDefault
Gets or sets a value indicating whether the custom range should be selected by default. In multiple ranges scenarios, the last one with this property set to true will be selected.
Declaration
public bool IsSelectedByDefault { get; set; }
Property Value
System.Boolean
|
Name
Gets or sets the UI name (label) of the range.
Declaration
public string Name { get; set; }
Property Value
System.String
|
StartDate
Gets or sets the start date of the range.
Declaration
public Nullable<DateTime> StartDate { get; set; }
Property Value
System.Nullable<System.DateTime>
|