Class DateRangeMaskedInput
A custom RadMaskedTextInput control representing a pair of start and end dates.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.DateRangePicker
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class DateRangeMaskedInput : RadMaskedTextInput, IThemable
Constructors
DateRangeMaskedInput()
Initializes a new instance of the DateRangeMaskedInput class.
Declaration
public DateRangeMaskedInput()
Fields
BlackoutDatesProperty
Identifies the property.
Declaration
public static readonly DependencyProperty BlackoutDatesProperty
Field Value
System.Windows.DependencyProperty
|
DatePatternProperty
Identifies the DatePattern dependency property.
Declaration
public static readonly DependencyProperty DatePatternProperty
Field Value
System.Windows.DependencyProperty
|
EndDateProperty
Identifies the EndDate dependency property.
Declaration
public static readonly DependencyProperty EndDateProperty
Field Value
System.Windows.DependencyProperty
|
SelectableDateEndProperty
Identifies the property.
Declaration
public static readonly DependencyProperty SelectableDateEndProperty
Field Value
System.Windows.DependencyProperty
|
SelectableDateStartProperty
Identifies the dependency property.
Declaration
public static readonly DependencyProperty SelectableDateStartProperty
Field Value
System.Windows.DependencyProperty
|
SeparatorProperty
Identifies the Separator dependency property.
Declaration
public static readonly DependencyProperty SeparatorProperty
Field Value
System.Windows.DependencyProperty
|
StartDateProperty
Identifies the StartDate dependency property.
Declaration
public static readonly DependencyProperty StartDateProperty
Field Value
System.Windows.DependencyProperty
|
Properties
BlackoutDates
Gets or sets a list of dates that cannot be selected. This is a dependency property.
Declaration
public IEnumerable<DateTime> BlackoutDates { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.DateTime>
|
Remarks
The BlackoutDates specifies a list of dates that cannot be selected by the user.
DatePattern
Gets or sets a value indicating the date pattern used in formatting the dates. Formats for abbreviated days (ddd,dddd), months (MMM, MMMM) are not supported. Hours, minutes, seconds, milliseconds are not supported.
Declaration
public string DatePattern { get; set; }
Property Value
System.String
|
EndDate
Gets or sets the end date of the range input.
Declaration
public Nullable<DateTime> EndDate { get; set; }
Property Value
System.Nullable<System.DateTime>
|
SelectableDateEnd
Gets or sets the last date that can be selected. This is a dependency property.
Declaration
public Nullable<DateTime> SelectableDateEnd { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Remarks
The SelectableDateEnd specifies the last date that can be selected by the user.
SelectableDateStart
Gets or sets the first date that can be selected. This is a dependency property.
Declaration
public Nullable<DateTime> SelectableDateStart { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Remarks
The SelectableDateStart specifies the first date that can be selected by the user.
Separator
Gets or sets the string representing the separator between the dates in the input.
Declaration
public string Separator { get; set; }
Property Value
System.String
|
StartDate
Gets or sets the start date of the range input.
Declaration
public Nullable<DateTime> StartDate { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Methods
CoerceTextOverride(ref Int32)
The value has changed and the Text has to be coerced against the value.
Declaration
protected override string CoerceTextOverride(ref int selectionStart)
Parameters
System.Int32
selectionStart
The selection start. |
Returns
System.String
Returns the string to be coerced. |
Overrides
OnPreviewKeyDown(KeyEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
|