C# Class AC.AvalonControlsLibrary.Controls.DatePicker

Inheritance: System.Windows.Controls.Control, INotifyPropertyChanged
Datei anzeigen Open project: kienaiProject/ArtOfWords Class Usage Examples

Public Properties

Property 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

Public Methods

Method Description
OnApplyTemplate ( ) : void

override to get the templated controls

Protected Methods

Method Description
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the property changed event

Private Methods

Method 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 method

override to get the templated controls
public OnApplyTemplate ( ) : void
return void

OnPropertyChanged() protected method

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

Property Details

CurrentlySelectedDateProperty public_oe static_oe property

Gets and sets the currently viewed date
public static DependencyProperty,System.Windows CurrentlySelectedDateProperty
return 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
return System.Windows.DependencyProperty

DatesSelectionModeProperty public_oe static_oe property

Gets or sets the selection mode for the DatePicker
public static DependencyProperty,System.Windows DatesSelectionModeProperty
return 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
return System.Windows.DependencyProperty

MinDateProperty public_oe static_oe property

The Minimum date for the date picker
public static DependencyProperty,System.Windows MinDateProperty
return System.Windows.DependencyProperty

SelectedDateChangedEvent public_oe static_oe property

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