C# Класс AC.AvalonControlsLibrary.Controls.TimePicker

Наследование: System.Windows.Controls.Control
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
MaxTimeProperty System.Windows.DependencyProperty
MinTimeProperty System.Windows.DependencyProperty
SelectedHourProperty System.Windows.DependencyProperty
SelectedMinuteProperty System.Windows.DependencyProperty
SelectedSecondProperty System.Windows.DependencyProperty
SelectedTimeChangedEvent System.Windows.RoutedEvent
SelectedTimeProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
OnApplyTemplate ( ) : void

override to hook to the Control template elements

TimePicker ( ) : System

Default constructor

Приватные методы

Метод Описание
AdjustCarretIndexOrMoveToNeighbour ( TextBox current, TextBox neighbour ) : void
AdjustText ( TextBox textBox, string newText ) : string
BeginUpdateSelectedTime ( ) : void
DecrementTime ( object sender, RoutedEventArgs e ) : void
EndUpdateSelectedTime ( ) : void
ExposeAdjustCarretIndexOrMoveToNeighbour ( TextBox current, TextBox neighbour ) : void
ExposeTrimSelectedText ( TextBox textBox ) : void
ExposeTryFocusNeighbourControl ( TextBox currentControl, TextBox leftControl, TextBox rightControl, Key keyPressed ) : void
ForceValidSelectedTime ( DependencyObject sender, object value ) : object
HoursKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
HoursTextChanged ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
IncreaseTime ( object sender, RoutedEventArgs e ) : void
IncrementDecrementTime ( Key selectedKey ) : bool
IncrementDecrementTime ( bool increment ) : void
MinutesKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
MinutesTextChanged ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
OnTimeSelectedChanged ( System.TimeSpan newTime, System.TimeSpan oldTime ) : void
SecondsKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
SecondsTextChanged ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
SelectedTimePropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetNewTime ( TimePicker timePicker ) : void
TextGotFocus ( object sender, RoutedEventArgs e ) : void
TrimSelectedText ( TextBox textBox ) : void
TryFocusNeighbourControl ( TextBox currentControl, TextBox leftControl, TextBox rightControl, Key keyPressed ) : void
ValidateAndSetHour ( string text ) : int
ValidateAndSetMinute ( string text ) : int
ValidateAndSetSeconds ( string text ) : int

Описание методов

OnApplyTemplate() публичный Метод

override to hook to the Control template elements
public OnApplyTemplate ( ) : void
Результат void

TimePicker() публичный Метод

Default constructor
public TimePicker ( ) : System
Результат System

Описание свойств

MaxTimeProperty публичное статическое свойство

Gets or sets the maximum time that can be selected
public static DependencyProperty,System.Windows MaxTimeProperty
Результат System.Windows.DependencyProperty

MinTimeProperty публичное статическое свойство

Gets or sets the minimum time selected
public static DependencyProperty,System.Windows MinTimeProperty
Результат System.Windows.DependencyProperty

SelectedHourProperty публичное статическое свойство

Backing store for the selected hour
public static DependencyProperty,System.Windows SelectedHourProperty
Результат System.Windows.DependencyProperty

SelectedMinuteProperty публичное статическое свойство

Backing store for the selected minsutes
public static DependencyProperty,System.Windows SelectedMinuteProperty
Результат System.Windows.DependencyProperty

SelectedSecondProperty публичное статическое свойство

Backing store for the selected second
public static DependencyProperty,System.Windows SelectedSecondProperty
Результат System.Windows.DependencyProperty

SelectedTimeChangedEvent публичное статическое свойство

public static RoutedEvent,System.Windows SelectedTimeChangedEvent
Результат System.Windows.RoutedEvent

SelectedTimeProperty публичное статическое свойство

Backing store for the selected timestamp
public static DependencyProperty,System.Windows SelectedTimeProperty
Результат System.Windows.DependencyProperty