C# 클래스 FarsiLibrary.WPF.Controls.FXMonthView

상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: HEskandari/FarsiLibrary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ButtonStyleProperty System.Windows.DependencyProperty
DayContainerStyleProperty System.Windows.DependencyProperty
DayContainerStyleSelectorProperty System.Windows.DependencyProperty
DayTemplateProperty System.Windows.DependencyProperty
DayTemplateSelectorProperty System.Windows.DependencyProperty
HeaderMonthStyleProperty System.Windows.DependencyProperty
HeaderYearStyleProperty System.Windows.DependencyProperty
MaxDateProperty System.Windows.DependencyProperty
MinDateProperty System.Windows.DependencyProperty
PreviewSelectedDateTimeChangedEvent System.Windows.RoutedEvent
PreviewViewDateTimeChangedEvent System.Windows.RoutedEvent
RecreatingViewEvent System.Windows.RoutedEvent
SelectedDateTimeChangedEvent System.Windows.RoutedEvent
SelectedDateTimeProperty System.Windows.DependencyProperty
SelectionModeProperty System.Windows.DependencyProperty
ShowEmptyButtonProperty System.Windows.DependencyProperty
ShowTodayButtonProperty System.Windows.DependencyProperty
ShowWeekDayNamesProperty System.Windows.DependencyProperty
ViewDateTimeChangedEvent System.Windows.RoutedEvent
ViewDateTimeProperty System.Windows.DependencyProperty
ViewPostChangeAnimationProperty System.Windows.DependencyProperty
ViewPreChangeAnimationProperty System.Windows.DependencyProperty
WeekDayHeaderStyleProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
CreateVisibleDaysCollection CalendarDayCollection
FXMonthView System
InitializeCommandBindings void
InitializeVariables void
OnChangeToNextMonth void
OnChangeToNextYear void
OnChangeToPrevMonth void
OnChangeToPrevYear void
OnSelectEmptyDate void
OnSelectTodayDate void
PostChangeAnimate void
PreChangeAnimate void
RecreateDays void
RefreshDaysTemplate void
UpdateContainerSelection void
UpdateVisualTree void

공개 메소드들

메소드 설명
GetCalendarDateByDate ( System.DateTime date ) : FarsiLibrary.WPF.Controls.CalendarDay
GetMonthViewItemFromDate ( System.DateTime date ) : FXMonthViewItem
GetMonthViewItems ( ) : IList
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call .

SetNoneDate ( ) : void
SetTodayDate ( ) : void
ValidateDateRange ( System.DateTime value ) : System.DateTime

보호된 메소드들

메소드 설명
CoerceMaxDate ( DependencyObject d, object value ) : object
CoerceSelectedDateTime ( DependencyObject d, object value ) : object
CoerceThemeValue ( DependencyObject d, object newValue ) : object
CoerceViewDateTime ( DependencyObject d, object value ) : object
IsValidDate ( object value ) : bool
OnContainerSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Sync selected value of container control with the SelectedDateTime property.

OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnDayContainerStyleSelectorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnDayTemplateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnDayTemplateSelectorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaxDateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaxMinDateChanged ( System.DateTime minDate, System.DateTime maxDate ) : void
OnMinDateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedDateTimeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectionModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectionModeChanged ( SelectionMode mode ) : void
OnViewDateTimeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RaisePreviewSelectedDateTimeChanged ( DateSelectionChangedEventArgs e ) : void

Raise PreviewSelectedDateTimeChanged event.

RaisePreviewViewDateTimeChanged ( RoutedPropertyChangedEventArgs e ) : void

Raise PreviewViewDateTimeChanged event.

RaiseSelectedDateTimeChanged ( DateSelectionChangedEventArgs e ) : void

Raise SelectedDateTimeChanged event.

RaiseViewDateTimeChanged ( RoutedPropertyChangedEventArgs e ) : void

Raise ViewDateTimeChanged event.

비공개 메소드들

메소드 설명
CreateVisibleDaysCollection ( ) : CalendarDayCollection
FXMonthView ( ) : System

Ctor

InitializeCommandBindings ( ) : void
InitializeVariables ( ) : void
OnChangeToNextMonth ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnChangeToNextYear ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnChangeToPrevMonth ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnChangeToPrevYear ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnSelectEmptyDate ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnSelectTodayDate ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PostChangeAnimate ( ) : void
PreChangeAnimate ( ) : void
RecreateDays ( ) : void
RefreshDaysTemplate ( ) : void
UpdateContainerSelection ( ) : void
UpdateVisualTree ( ) : void

메소드 상세

CoerceMaxDate() 보호된 정적인 메소드

protected static CoerceMaxDate ( DependencyObject d, object value ) : object
d System.Windows.DependencyObject
value object
리턴 object

CoerceSelectedDateTime() 보호된 정적인 메소드

protected static CoerceSelectedDateTime ( DependencyObject d, object value ) : object
d System.Windows.DependencyObject
value object
리턴 object

CoerceThemeValue() 보호된 정적인 메소드

protected static CoerceThemeValue ( DependencyObject d, object newValue ) : object
d System.Windows.DependencyObject
newValue object
리턴 object

CoerceViewDateTime() 보호된 정적인 메소드

protected static CoerceViewDateTime ( DependencyObject d, object value ) : object
d System.Windows.DependencyObject
value object
리턴 object

GetCalendarDateByDate() 공개 메소드

public GetCalendarDateByDate ( System.DateTime date ) : FarsiLibrary.WPF.Controls.CalendarDay
date System.DateTime
리턴 FarsiLibrary.WPF.Controls.CalendarDay

GetMonthViewItemFromDate() 공개 메소드

public GetMonthViewItemFromDate ( System.DateTime date ) : FXMonthViewItem
date System.DateTime
리턴 FXMonthViewItem

GetMonthViewItems() 공개 메소드

public GetMonthViewItems ( ) : IList
리턴 IList

IsValidDate() 보호된 정적인 메소드

protected static IsValidDate ( object value ) : bool
value object
리턴 bool

OnApplyTemplate() 공개 메소드

When overridden in a derived class, is invoked whenever application code or internal processes call .
public OnApplyTemplate ( ) : void
리턴 void

OnContainerSelectionChanged() 보호된 메소드

Sync selected value of container control with the SelectedDateTime property.
protected OnContainerSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
sender object
e System.Windows.Controls.SelectionChangedEventArgs
리턴 void

OnCreateAutomationPeer() 보호된 메소드

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
리턴 System.Windows.Automation.Peers.AutomationPeer

OnDayContainerStyleSelectorChanged() 보호된 정적인 메소드

protected static OnDayContainerStyleSelectorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnDayTemplateChanged() 보호된 정적인 메소드

protected static OnDayTemplateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnDayTemplateSelectorChanged() 보호된 정적인 메소드

protected static OnDayTemplateSelectorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnMaxDateChanged() 보호된 정적인 메소드

protected static OnMaxDateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnMaxMinDateChanged() 보호된 메소드

protected OnMaxMinDateChanged ( System.DateTime minDate, System.DateTime maxDate ) : void
minDate System.DateTime
maxDate System.DateTime
리턴 void

OnMinDateChanged() 보호된 정적인 메소드

protected static OnMinDateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnSelectedDateTimeChanged() 보호된 정적인 메소드

protected static OnSelectedDateTimeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnSelectionModeChanged() 보호된 정적인 메소드

protected static OnSelectionModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnSelectionModeChanged() 보호된 메소드

protected OnSelectionModeChanged ( SelectionMode mode ) : void
mode SelectionMode
리턴 void

OnViewDateTimeChanged() 보호된 정적인 메소드

protected static OnViewDateTimeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

RaisePreviewSelectedDateTimeChanged() 보호된 메소드

Raise PreviewSelectedDateTimeChanged event.
protected RaisePreviewSelectedDateTimeChanged ( DateSelectionChangedEventArgs e ) : void
e DateSelectionChangedEventArgs
리턴 void

RaisePreviewViewDateTimeChanged() 보호된 메소드

Raise PreviewViewDateTimeChanged event.
protected RaisePreviewViewDateTimeChanged ( RoutedPropertyChangedEventArgs e ) : void
e RoutedPropertyChangedEventArgs
리턴 void

RaiseSelectedDateTimeChanged() 보호된 메소드

Raise SelectedDateTimeChanged event.
protected RaiseSelectedDateTimeChanged ( DateSelectionChangedEventArgs e ) : void
e DateSelectionChangedEventArgs
리턴 void

RaiseViewDateTimeChanged() 보호된 메소드

Raise ViewDateTimeChanged event.
protected RaiseViewDateTimeChanged ( RoutedPropertyChangedEventArgs e ) : void
e RoutedPropertyChangedEventArgs
리턴 void

SetNoneDate() 공개 메소드

public SetNoneDate ( ) : void
리턴 void

SetTodayDate() 공개 메소드

public SetTodayDate ( ) : void
리턴 void

ValidateDateRange() 공개 정적인 메소드

public static ValidateDateRange ( System.DateTime value ) : System.DateTime
value System.DateTime
리턴 System.DateTime

프로퍼티 상세

ButtonStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ButtonStyleProperty
리턴 System.Windows.DependencyProperty

DayContainerStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DayContainerStyleProperty
리턴 System.Windows.DependencyProperty

DayContainerStyleSelectorProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DayContainerStyleSelectorProperty
리턴 System.Windows.DependencyProperty

DayTemplateProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DayTemplateProperty
리턴 System.Windows.DependencyProperty

DayTemplateSelectorProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DayTemplateSelectorProperty
리턴 System.Windows.DependencyProperty

HeaderMonthStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows HeaderMonthStyleProperty
리턴 System.Windows.DependencyProperty

HeaderYearStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows HeaderYearStyleProperty
리턴 System.Windows.DependencyProperty

MaxDateProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows MaxDateProperty
리턴 System.Windows.DependencyProperty

MinDateProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows MinDateProperty
리턴 System.Windows.DependencyProperty

PreviewSelectedDateTimeChangedEvent 공개적으로 정적으로 프로퍼티

public static RoutedEvent,System.Windows PreviewSelectedDateTimeChangedEvent
리턴 System.Windows.RoutedEvent

PreviewViewDateTimeChangedEvent 공개적으로 정적으로 프로퍼티

public static RoutedEvent,System.Windows PreviewViewDateTimeChangedEvent
리턴 System.Windows.RoutedEvent

RecreatingViewEvent 공개적으로 정적으로 프로퍼티

public static RoutedEvent,System.Windows RecreatingViewEvent
리턴 System.Windows.RoutedEvent

SelectedDateTimeChangedEvent 공개적으로 정적으로 프로퍼티

public static RoutedEvent,System.Windows SelectedDateTimeChangedEvent
리턴 System.Windows.RoutedEvent

SelectedDateTimeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows SelectedDateTimeProperty
리턴 System.Windows.DependencyProperty

SelectionModeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows SelectionModeProperty
리턴 System.Windows.DependencyProperty

ShowEmptyButtonProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ShowEmptyButtonProperty
리턴 System.Windows.DependencyProperty

ShowTodayButtonProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ShowTodayButtonProperty
리턴 System.Windows.DependencyProperty

ShowWeekDayNamesProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ShowWeekDayNamesProperty
리턴 System.Windows.DependencyProperty

ViewDateTimeChangedEvent 공개적으로 정적으로 프로퍼티

public static RoutedEvent,System.Windows ViewDateTimeChangedEvent
리턴 System.Windows.RoutedEvent

ViewDateTimeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ViewDateTimeProperty
리턴 System.Windows.DependencyProperty

ViewPostChangeAnimationProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ViewPostChangeAnimationProperty
리턴 System.Windows.DependencyProperty

ViewPreChangeAnimationProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ViewPreChangeAnimationProperty
리턴 System.Windows.DependencyProperty

WeekDayHeaderStyleProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows WeekDayHeaderStyleProperty
리턴 System.Windows.DependencyProperty