C# 클래스 MahApps.Metro.Controls.TimePickerBase

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

공개 프로퍼티들

프로퍼티 타입 설명
CultureProperty System.Windows.DependencyProperty
HandVisibilityProperty DependencyProperty
IntervalOf10 IEnumerable
IntervalOf15 IEnumerable
IntervalOf5 IEnumerable
IsClockVisibleProperty DependencyProperty
IsDropDownOpenProperty DependencyProperty
IsReadOnlyProperty DependencyProperty
PickerVisibilityProperty DependencyProperty
SelectedTimeChangedEvent RoutedEvent
SelectedTimeProperty DependencyProperty
SourceHoursProperty DependencyProperty
SourceMinutesProperty DependencyProperty
SourceSecondsProperty DependencyProperty

보호된 프로퍼티들

프로퍼티 타입 설명
_textBox DatePickerTextBox

Private Properties

프로퍼티 타입 설명
CoerceSelectedTime object
CoerceSource60 object
CoerceSourceHours object
CreateValueList IList
GetAmPmOffset int
InternalOnRangeBaseValueChanged void
InternalOnTextBoxLostFocus void
IsValueSelected bool
OnButtonClicked void
OnCultureChanged void
OnGotFocus void
OnHandVisibilityChanged void
OnPickerVisibilityChanged void
OnSelectedTimeChanged void
OnTextChanged void
OutsideCapturedElementHandler void
SetAmPmVisibility void
SetDefaultTimeOfDayValue void
SetHandVisibility void
SetHourPartValues void
SetPickerVisibility void
SetVisibility void
SubscribeRangeBaseValueChanged void
TimePickerBase System
UnsubscribeRangeBaseValueChanged void

공개 메소드들

메소드 설명
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.

보호된 메소드들

메소드 설명
ApplyBindings ( ) : void
ApplyCulture ( ) : void
GetBinding ( DependencyProperty property ) : Binding
GetSelectedTimeFromGUI ( ) : TimeSpan?
GetValueForTextBox ( ) : string
OnIsKeyboardFocusWithinChanged ( DependencyPropertyChangedEventArgs e ) : void
OnRangeBaseValueChanged ( object sender, SelectionChangedEventArgs e ) : void
OnSelectedTimeChanged ( TimePickerBaseSelectionChangedEventArgs e ) : void
OnTextBoxLostFocus ( object sender, RoutedEventArgs e ) : void
SetDefaultTimeOfDayValues ( ) : void
SubscribeEvents ( ) : void
UnSubscribeEvents ( ) : void
WriteValueToTextBox ( ) : void

비공개 메소드들

메소드 설명
CoerceSelectedTime ( DependencyObject d, object basevalue ) : object
CoerceSource60 ( DependencyObject d, object basevalue ) : object
CoerceSourceHours ( DependencyObject d, object basevalue ) : object
CreateValueList ( int interval ) : IList
GetAmPmOffset ( int currentHour ) : int

Gets the offset from the selected currentHour to use it in TimeSpan as hour parameter.

InternalOnRangeBaseValueChanged ( object sender, SelectionChangedEventArgs e ) : void
InternalOnTextBoxLostFocus ( object sender, RoutedEventArgs e ) : void
IsValueSelected ( Selector selector ) : bool
OnButtonClicked ( object sender, RoutedEventArgs e ) : void
OnCultureChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnGotFocus ( object sender, RoutedEventArgs e ) : void
OnHandVisibilityChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnPickerVisibilityChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnSelectedTimeChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTextChanged ( object sender, TextChangedEventArgs e ) : void
OutsideCapturedElementHandler ( object sender, MouseButtonEventArgs e ) : void
SetAmPmVisibility ( ) : void
SetDefaultTimeOfDayValue ( Selector selector ) : void
SetHandVisibility ( TimePartVisibility visibility ) : void
SetHourPartValues ( TimeSpan timeOfDay ) : void
SetPickerVisibility ( TimePartVisibility visibility ) : void
SetVisibility ( UIElement partHours, UIElement partMinutes, UIElement partSeconds, TimePartVisibility visibility ) : void
SubscribeRangeBaseValueChanged ( ) : void
TimePickerBase ( ) : System
UnsubscribeRangeBaseValueChanged ( ) : void

메소드 상세

ApplyBindings() 보호된 메소드

protected ApplyBindings ( ) : void
리턴 void

ApplyCulture() 보호된 메소드

protected ApplyCulture ( ) : void
리턴 void

GetBinding() 보호된 메소드

protected GetBinding ( DependencyProperty property ) : Binding
property DependencyProperty
리턴 Binding

GetSelectedTimeFromGUI() 보호된 메소드

protected GetSelectedTimeFromGUI ( ) : TimeSpan?
리턴 TimeSpan?

GetValueForTextBox() 보호된 메소드

protected GetValueForTextBox ( ) : string
리턴 string

OnApplyTemplate() 공개 메소드

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

OnIsKeyboardFocusWithinChanged() 보호된 메소드

protected OnIsKeyboardFocusWithinChanged ( DependencyPropertyChangedEventArgs e ) : void
e DependencyPropertyChangedEventArgs
리턴 void

OnRangeBaseValueChanged() 보호된 메소드

protected OnRangeBaseValueChanged ( object sender, SelectionChangedEventArgs e ) : void
sender object
e SelectionChangedEventArgs
리턴 void

OnSelectedTimeChanged() 보호된 메소드

protected OnSelectedTimeChanged ( TimePickerBaseSelectionChangedEventArgs e ) : void
e TimePickerBaseSelectionChangedEventArgs
리턴 void

OnTextBoxLostFocus() 보호된 메소드

protected OnTextBoxLostFocus ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
리턴 void

SetDefaultTimeOfDayValues() 보호된 메소드

protected SetDefaultTimeOfDayValues ( ) : void
리턴 void

SubscribeEvents() 보호된 메소드

protected SubscribeEvents ( ) : void
리턴 void

UnSubscribeEvents() 보호된 메소드

protected UnSubscribeEvents ( ) : void
리턴 void

WriteValueToTextBox() 보호된 메소드

protected WriteValueToTextBox ( ) : void
리턴 void

프로퍼티 상세

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

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

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

public static DependencyProperty HandVisibilityProperty
리턴 DependencyProperty

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

This list contains values from 0 to 50 with an interval of 10. It can be used to bind to SourceMinutes and SourceSeconds.
public static IEnumerable IntervalOf10
리턴 IEnumerable

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

This list contains values from 0 to 45 with an interval of 15. It can be used to bind to SourceMinutes and SourceSeconds.
public static IEnumerable IntervalOf15
리턴 IEnumerable

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

This list contains values from 0 to 55 with an interval of 5. It can be used to bind to SourceMinutes and SourceSeconds.
public static IEnumerable IntervalOf5
리턴 IEnumerable

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

public static DependencyProperty IsClockVisibleProperty
리턴 DependencyProperty

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

public static DependencyProperty IsDropDownOpenProperty
리턴 DependencyProperty

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

public static DependencyProperty IsReadOnlyProperty
리턴 DependencyProperty

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

public static DependencyProperty PickerVisibilityProperty
리턴 DependencyProperty

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

public static RoutedEvent SelectedTimeChangedEvent
리턴 RoutedEvent

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

public static DependencyProperty SelectedTimeProperty
리턴 DependencyProperty

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

public static DependencyProperty SourceHoursProperty
리턴 DependencyProperty

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

public static DependencyProperty SourceMinutesProperty
리턴 DependencyProperty

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

public static DependencyProperty SourceSecondsProperty
리턴 DependencyProperty

_textBox 보호되어 있는 프로퍼티

protected DatePickerTextBox _textBox
리턴 DatePickerTextBox