C# Class Controls.Toolkit.CalendarPicker

Inheritance: Windows.UI.Xaml.Controls.Control
Mostra file Open project: RedSafi-UX/SugarUIEnhancedControls

Public Properties

Property Type Description
CalendarHeightProperty Windows.UI.Xaml.DependencyProperty
CalendarWidthProperty Windows.UI.Xaml.DependencyProperty
DayForgroundProperty Windows.UI.Xaml.DependencyProperty
DaySelectedStyleProperty Windows.UI.Xaml.DependencyProperty
DayStyleProperty Windows.UI.Xaml.DependencyProperty
EndDateProperty Windows.UI.Xaml.DependencyProperty
FirstAndLastDayColumnForgroundProperty Windows.UI.Xaml.DependencyProperty
FistAndLastWeekBrushProperty Windows.UI.Xaml.DependencyProperty
HeaderWidthProperty Windows.UI.Xaml.DependencyProperty
MonthOnDaysTitleBrushProperty Windows.UI.Xaml.DependencyProperty
MonthOnMonthsTitleBrushProperty Windows.UI.Xaml.DependencyProperty
MonthSelectedStyleProperty Windows.UI.Xaml.DependencyProperty
MonthStyleProperty Windows.UI.Xaml.DependencyProperty
NextButtonStyleProperty Windows.UI.Xaml.DependencyProperty
OtherMonthDayBrushProperty Windows.UI.Xaml.DependencyProperty
PreviousButtonStyleProperty Windows.UI.Xaml.DependencyProperty
SelectedAeroStyleProperty Windows.UI.Xaml.DependencyProperty
SelectedDayStyleProperty Windows.UI.Xaml.DependencyProperty
SelectedMonthStyleProperty Windows.UI.Xaml.DependencyProperty
ShowOtherMonthProperty Windows.UI.Xaml.DependencyProperty
StartDateProperty Windows.UI.Xaml.DependencyProperty
TodayOfDateProperty Windows.UI.Xaml.DependencyProperty
WeekTitleBrushProperty Windows.UI.Xaml.DependencyProperty
YearOnDaysTitleBrushProperty Windows.UI.Xaml.DependencyProperty
YearOnMonthsTitlBrushProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
CalendarPicker ( ) : System
UpdateSelectedDays ( System.DateTime datetime ) : void

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
Calendar_Loaded ( object sender, RoutedEventArgs e ) : void
CreateDay ( System.DateTime date ) : ObservableCollection
CreateMonth ( System.DateTime date ) : ObservableCollection
GeneralSelectedAero ( bool &isinselectedaero, System.DateTime datetime = default(DateTime) ) : void
GetDayForeBrush ( System.DateTime date, bool isOtherMonth = false ) : Brush
GetDayForeBrush ( ) : Style
GoToNextDateTime_Click ( object sender, RoutedEventArgs e ) : void
GoToNextMonth ( System.DateTime date ) : ObservableCollection
GoToPreviousDateTime_Click ( object sender, RoutedEventArgs e ) : void
GotoPreviousMonth ( System.DateTime date ) : ObservableCollection
MonthHeader_Taped ( object sender, TappedRoutedEventArgs e ) : void
OnDataSelected_Click ( object sender, RoutedEventArgs e ) : void
OnDateTimeSelected ( System.DateTime datetime ) : void
OnDaySelected ( Day day ) : void
OnMonthChanged_Click ( object sender, RoutedEventArgs e ) : void
OnMonthTitle_Click ( object sender, RoutedEventArgs e ) : void
OnPropertyChanged ( [ propertyName = null ) : void
SwitchState ( ) : void
Update ( Button btn ) : void
UpdateDays ( System.DateTime date ) : void
UpdateMonths ( System.DateTime date ) : void
daynew_Selected ( object sender, DaySelectArgs e ) : void
gridviewDays_ItemClick ( object sender, ItemClickEventArgs e ) : void
header_LeftButtonClick ( object sender, RoutedEventArgs e ) : void
header_RightButtonClick ( object sender, RoutedEventArgs e ) : void
month_MonthSelected ( object sender, MonthSelectArgs e ) : void
semanticzoomDate_ViewChangeStarted ( object sender, SemanticZoomViewChangedEventArgs e ) : void
yearheader_LeftButtonClick ( object sender, RoutedEventArgs e ) : void
yearheader_RightButtonClick ( object sender, RoutedEventArgs e ) : void

Method Details

CalendarPicker() public method

public CalendarPicker ( ) : System
return System

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

UpdateSelectedDays() public method

public UpdateSelectedDays ( System.DateTime datetime ) : void
datetime System.DateTime
return void

Property Details

CalendarHeightProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CalendarHeightProperty
return Windows.UI.Xaml.DependencyProperty

CalendarWidthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CalendarWidthProperty
return Windows.UI.Xaml.DependencyProperty

DayForgroundProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml DayForgroundProperty
return Windows.UI.Xaml.DependencyProperty

DaySelectedStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml DaySelectedStyleProperty
return Windows.UI.Xaml.DependencyProperty

DayStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml DayStyleProperty
return Windows.UI.Xaml.DependencyProperty

EndDateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml EndDateProperty
return Windows.UI.Xaml.DependencyProperty

FirstAndLastDayColumnForgroundProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml FirstAndLastDayColumnForgroundProperty
return Windows.UI.Xaml.DependencyProperty

FistAndLastWeekBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml FistAndLastWeekBrushProperty
return Windows.UI.Xaml.DependencyProperty

HeaderWidthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml HeaderWidthProperty
return Windows.UI.Xaml.DependencyProperty

MonthOnDaysTitleBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MonthOnDaysTitleBrushProperty
return Windows.UI.Xaml.DependencyProperty

MonthOnMonthsTitleBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MonthOnMonthsTitleBrushProperty
return Windows.UI.Xaml.DependencyProperty

MonthSelectedStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MonthSelectedStyleProperty
return Windows.UI.Xaml.DependencyProperty

MonthStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MonthStyleProperty
return Windows.UI.Xaml.DependencyProperty

NextButtonStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml NextButtonStyleProperty
return Windows.UI.Xaml.DependencyProperty

OtherMonthDayBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml OtherMonthDayBrushProperty
return Windows.UI.Xaml.DependencyProperty

PreviousButtonStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml PreviousButtonStyleProperty
return Windows.UI.Xaml.DependencyProperty

SelectedAeroStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SelectedAeroStyleProperty
return Windows.UI.Xaml.DependencyProperty

SelectedDayStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SelectedDayStyleProperty
return Windows.UI.Xaml.DependencyProperty

SelectedMonthStyleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SelectedMonthStyleProperty
return Windows.UI.Xaml.DependencyProperty

ShowOtherMonthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ShowOtherMonthProperty
return Windows.UI.Xaml.DependencyProperty

StartDateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StartDateProperty
return Windows.UI.Xaml.DependencyProperty

TodayOfDateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TodayOfDateProperty
return Windows.UI.Xaml.DependencyProperty

WeekTitleBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml WeekTitleBrushProperty
return Windows.UI.Xaml.DependencyProperty

YearOnDaysTitleBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml YearOnDaysTitleBrushProperty
return Windows.UI.Xaml.DependencyProperty

YearOnMonthsTitlBrushProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml YearOnMonthsTitlBrushProperty
return Windows.UI.Xaml.DependencyProperty