C# Класс AC.AvalonControlsLibrary.Controls.DatePicker

Наследование: System.Windows.Controls.Control, INotifyPropertyChanged
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CurrentlySelectedDateProperty System.Windows.DependencyProperty
CurrentlySelectedDatesProperty System.Windows.DependencyProperty
DatesSelectionModeProperty System.Windows.DependencyProperty
MaxDateProperty System.Windows.DependencyProperty
MinDateProperty System.Windows.DependencyProperty
SelectedDateChangedEvent System.Windows.RoutedEvent

Открытые методы

Метод Описание
OnApplyTemplate ( ) : void

override to get the templated controls

Защищенные методы

Метод Описание
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the property changed event

Приватные методы

Метод Описание
BackButtonClick ( object sender, RoutedEventArgs e ) : void
ChangeDate ( ) : void
CurrentlySelectedDatePropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
DatePicker ( ) : System

Static constructor

DatesListSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
ForwardButtonClick ( object sender, RoutedEventArgs e ) : void
GetDateFromCell ( DayCell cell ) : System.DateTime
OnDateChanged ( System.DateTime newDate, System.DateTime oldDate ) : void
ReBindListOfDays ( ) : void

Описание методов

OnApplyTemplate() публичный метод

override to get the templated controls
public OnApplyTemplate ( ) : void
Результат void

OnPropertyChanged() защищенный метод

Raises the property changed event
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The arguments to pass
Результат void

Описание свойств

CurrentlySelectedDateProperty публичное статическое свойство

Gets and sets the currently viewed date
public static DependencyProperty,System.Windows CurrentlySelectedDateProperty
Результат System.Windows.DependencyProperty

CurrentlySelectedDatesProperty публичное статическое свойство

Gets or sets a collection of selected dates This property can only be used if the DatesSelectionMode is not set to Single
public static DependencyProperty,System.Windows CurrentlySelectedDatesProperty
Результат System.Windows.DependencyProperty

DatesSelectionModeProperty публичное статическое свойство

Gets or sets the selection mode for the DatePicker
public static DependencyProperty,System.Windows DatesSelectionModeProperty
Результат System.Windows.DependencyProperty

MaxDateProperty публичное статическое свойство

Gets or sets the max date to be set for the DatePicker
public static DependencyProperty,System.Windows MaxDateProperty
Результат System.Windows.DependencyProperty

MinDateProperty публичное статическое свойство

The Minimum date for the date picker
public static DependencyProperty,System.Windows MinDateProperty
Результат System.Windows.DependencyProperty

SelectedDateChangedEvent публичное статическое свойство

Event for the DateSelectionChanged raised when the date changes
public static RoutedEvent,System.Windows SelectedDateChangedEvent
Результат System.Windows.RoutedEvent