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

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

공개 프로퍼티들

프로퍼티 타입 설명
DateConverterProperty System.Windows.DependencyProperty
DropDownButtonStyleProperty System.Windows.DependencyProperty
DropDownClosedEvent System.Windows.RoutedEvent
DropDownOpenedEvent System.Windows.RoutedEvent
InvalidEntryEvent System.Windows.RoutedEvent
IsDropDownOpenProperty System.Windows.DependencyProperty
IsValidProperty System.Windows.DependencyProperty
MaxDateProperty System.Windows.DependencyProperty
MinDateProperty System.Windows.DependencyProperty
MonthViewStyleProperty System.Windows.DependencyProperty
NullValueTextProperty System.Windows.DependencyProperty
SelectedDateTimeChangedEvent System.Windows.RoutedEvent
SelectedDateTimeProperty System.Windows.DependencyProperty
ShowEmptyButtonProperty System.Windows.DependencyProperty
ShowTodayButtonProperty System.Windows.DependencyProperty
ShowWeekDayNamesProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
ViewDateTimeProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
AttachToVisualTree void
CoerceIsDropDownOpen object
CoerceMaxDate object
CoerceSelectedDateTime object
DetachFromVisualTree void
DoFormat string
DoFormat void
FXDatePicker System
IsDescendant bool
IsFocusable bool
KeyDownHandler void
KeyDownHandler void
KeyboardToggleDropDown void
OnContextMenuClose void
OnContextMenuOpen void
OnDateConverterChanged void
OnDropDownButtonStyleChanged void
OnIsDropDownOpenChanged void
OnMaxDateChanged void
OnMinDateChanged void
OnMonthViewCommandPreviewExecuted void
OnMonthViewDateTimeSelectionChanged void
OnMouseButtonDown void
OnNullValueTextChanged void
OnSelectedDateTimeChanged void
OnValuePresenterDoubleClick void
OnViewDateTimeChanged void
OpenOnLoad void
RefreshDropDownButtonStyle void
SelectFocusableDate void

공개 메소드들

메소드 설명
OnApplyTemplate ( ) : void

Called when the Template's tree has been generated

SetNoneDate ( ) : void
SetTodayDate ( ) : void
ToString ( ) : string

Returns a string representation for this control. "FXDatePicker, SelectedDateTime:06/02/2006"

보호된 메소드들

메소드 설명
CoerceViewDateTime ( DependencyObject d, object value ) : object
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnDropDownClosed ( RoutedEventArgs e ) : void

Raise DropDownClosed event

OnDropDownOpened ( RoutedEventArgs e ) : void

Raise DropDownOpened event

OnInvalidEntry ( InvalidEntryEventArgs e ) : void

This event is invoked when datepicker can't parse the input string correctly

OnLostMouseCapture ( System.Windows.Input.MouseEventArgs e ) : void

Close the dropdown content if FXDatePicker lost the mouse capture

OnSelectedDateTimeChanged ( RoutedPropertyChangedEventArgs e ) : void

This method is invoked when the SelectedDateTime property changes.

비공개 메소드들

메소드 설명
AttachToVisualTree ( ) : void

Detaches the EditableTextBox, MonthView from old child tree and attaches them to a new one

CoerceIsDropDownOpen ( DependencyObject d, object value ) : object

Coerce IsDropDownOpen with IsLoaded, so set IsDropDownOpen to true before UI ready can work

CoerceMaxDate ( DependencyObject d, object value ) : object
CoerceSelectedDateTime ( DependencyObject d, object value ) : object
DetachFromVisualTree ( ) : void

Clear the event, and detach our current EditableTextBox from ComboBox

DoFormat ( System.DateTime date ) : string
DoFormat ( ) : void

Format SelectedDateTime property to a formatted string

FXDatePicker ( ) : System

Ctor

IsDescendant ( Visual reference, Visual node ) : bool

True, if node is derived from reference

IsFocusable ( FrameworkElement fe ) : bool

True if the element can be focused

KeyDownHandler ( System.Windows.Input.KeyEventArgs e ) : void
KeyDownHandler ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Called when a key event occurs.

KeyboardToggleDropDown ( bool openDropDown, bool commitSelection ) : void

Close the dropdown and commit the selection if requested. Make sure to set the selection after the dropdown has closed Don't trigger any unnecessary navigation as a result of changing the selection.

OnContextMenuClose ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
OnContextMenuOpen ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
OnDateConverterChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnDropDownButtonStyleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsDropDownOpenChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaxDateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMinDateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMonthViewCommandPreviewExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs args ) : void
OnMonthViewDateTimeSelectionChanged ( object sender, DateSelectionChangedEventArgs e ) : void
OnMouseButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

If we (or one of our children) are clicked, claim the focus

OnNullValueTextChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedDateTimeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnValuePresenterDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnViewDateTimeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OpenOnLoad ( object sender, RoutedEventArgs e ) : void
RefreshDropDownButtonStyle ( ) : void
SelectFocusableDate ( ) : void

Select the focusable date

메소드 상세

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

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

OnApplyTemplate() 공개 메소드

Called when the Template's tree has been generated
public OnApplyTemplate ( ) : void
리턴 void

OnCreateAutomationPeer() 보호된 메소드

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

OnDropDownClosed() 보호된 메소드

Raise DropDownClosed event
protected OnDropDownClosed ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
리턴 void

OnDropDownOpened() 보호된 메소드

Raise DropDownOpened event
protected OnDropDownOpened ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
리턴 void

OnInvalidEntry() 보호된 메소드

This event is invoked when datepicker can't parse the input string correctly
protected OnInvalidEntry ( InvalidEntryEventArgs e ) : void
e InvalidEntryEventArgs
리턴 void

OnLostMouseCapture() 보호된 메소드

Close the dropdown content if FXDatePicker lost the mouse capture
protected OnLostMouseCapture ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
리턴 void

OnSelectedDateTimeChanged() 보호된 메소드

This method is invoked when the SelectedDateTime property changes.
protected OnSelectedDateTimeChanged ( RoutedPropertyChangedEventArgs e ) : void
e RoutedPropertyChangedEventArgs RoutedPropertyChangedEventArgs contains the old and new value.
리턴 void

SetNoneDate() 공개 메소드

public SetNoneDate ( ) : void
리턴 void

SetTodayDate() 공개 메소드

public SetTodayDate ( ) : void
리턴 void

ToString() 공개 메소드

Returns a string representation for this control. "FXDatePicker, SelectedDateTime:06/02/2006"
public ToString ( ) : string
리턴 string

프로퍼티 상세

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public static DependencyProperty,System.Windows SelectedDateTimeProperty
리턴 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

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

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

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

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