DateRangeMaskedInput
A custom RadMaskedTextInput control representing a pair of start and end dates.
Definition
Namespace:Telerik.Windows.Controls.DateRangePicker
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class DateRangeMaskedInput : RadMaskedTextInput
Inheritance: objectRadMaskedInputBaseRadMaskedSectionBaseRadMaskedTextInputDateRangeMaskedInput
Inherited Members
Constructors
Initializes a new instance of the DateRangeMaskedInput class.
public DateRangeMaskedInput()
Fields
BlackoutDatesProperty
DependencyProperty
Identifies the property.
public static readonly DependencyProperty BlackoutDatesProperty
DatePatternProperty
DependencyProperty
Identifies the DatePattern dependency property.
public static readonly DependencyProperty DatePatternProperty
EndDateProperty
DependencyProperty
Identifies the EndDate dependency property.
public static readonly DependencyProperty EndDateProperty
SelectableDateEndProperty
DependencyProperty
Identifies the property.
public static readonly DependencyProperty SelectableDateEndProperty
SelectableDateStartProperty
DependencyProperty
Identifies the dependency property.
public static readonly DependencyProperty SelectableDateStartProperty
SeparatorProperty
DependencyProperty
Identifies the Separator dependency property.
public static readonly DependencyProperty SeparatorProperty
StartDateProperty
DependencyProperty
Identifies the StartDate dependency property.
public static readonly DependencyProperty StartDateProperty
Properties
Gets or sets a list of dates that cannot be selected. This is a dependency property.
public IEnumerable<DateTime> BlackoutDates { get; set; }
The BlackoutDates specifies a list of dates that cannot be selected by the user.
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.
public string DatePattern { get; set; }
Gets or sets the end date of the range input.
public DateTime? EndDate { get; set; }
Gets or sets the last date that can be selected. This is a dependency property.
public DateTime? SelectableDateEnd { get; set; }
The SelectableDateEnd specifies the last date that can be selected by the user.
Gets or sets the first date that can be selected. This is a dependency property.
public DateTime? SelectableDateStart { get; set; }
The SelectableDateStart specifies the first date that can be selected by the user.
Gets or sets the string representing the separator between the dates in the input.
public string Separator { get; set; }
Methods
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.
protected override void OnPreviewKeyDown(KeyEventArgs e)
Overrides: