C# Class Microsoft.Samples.KMoore.WPFSamples.DateControls.CalendarDate

CalendarDate is a wrapper over DateTime
The main purpose of CalendarDate is to increase the MonthCalendar's scroll perf. It is used to only update Date object and fire a PropertyChanged event, so when user scroll month, the selectedDates UI items won't be regenerated
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: daszat/zetbox Class Usage Examples

Méthodes publiques

Méthode Description
CalendarDate ( System.DateTime date ) : System

Constructor

ToString ( ) : string

Return string representation of this selectedDate

Private Methods

Méthode Description
InternalUpdate ( CalendarDate cdate ) : void

Update Date and IsValid property

IsDateToday ( System.DateTime date ) : bool
IsDateWeekend ( System.DateTime date ) : bool
OnPropertyChanged ( String info ) : void

Method Details

CalendarDate() public méthode

Constructor
public CalendarDate ( System.DateTime date ) : System
date System.DateTime
Résultat System

ToString() public méthode

Return string representation of this selectedDate
public ToString ( ) : string
Résultat string