C# Class AC.AvalonControlsLibrary.Controls.DatePicker

Inheritance: System.Windows.Controls.Control, INotifyPropertyChanged
Afficher le fichier Open project: kienaiProject/ArtOfWords Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentlySelectedDateProperty System.Windows.DependencyProperty
CurrentlySelectedDatesProperty System.Windows.DependencyProperty
DatesSelectionModeProperty System.Windows.DependencyProperty
MaxDateProperty System.Windows.DependencyProperty
MinDateProperty System.Windows.DependencyProperty
SelectedDateChangedEvent System.Windows.RoutedEvent

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

override to get the templated controls

Méthodes protégées

Méthode Description
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the property changed event

Private Methods

Méthode Description
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

Method Details

OnApplyTemplate() public méthode

override to get the templated controls
public OnApplyTemplate ( ) : void
Résultat void

OnPropertyChanged() protected méthode

Raises the property changed event
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The arguments to pass
Résultat void

Property Details

CurrentlySelectedDateProperty public_oe static_oe property

Gets and sets the currently viewed date
public static DependencyProperty,System.Windows CurrentlySelectedDateProperty
Résultat System.Windows.DependencyProperty

CurrentlySelectedDatesProperty public_oe static_oe property

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
Résultat System.Windows.DependencyProperty

DatesSelectionModeProperty public_oe static_oe property

Gets or sets the selection mode for the DatePicker
public static DependencyProperty,System.Windows DatesSelectionModeProperty
Résultat System.Windows.DependencyProperty

MaxDateProperty public_oe static_oe property

Gets or sets the max date to be set for the DatePicker
public static DependencyProperty,System.Windows MaxDateProperty
Résultat System.Windows.DependencyProperty

MinDateProperty public_oe static_oe property

The Minimum date for the date picker
public static DependencyProperty,System.Windows MinDateProperty
Résultat System.Windows.DependencyProperty

SelectedDateChangedEvent public_oe static_oe property

Event for the DateSelectionChanged raised when the date changes
public static RoutedEvent,System.Windows SelectedDateChangedEvent
Résultat System.Windows.RoutedEvent