C# Класс WinRTXamlToolkit.Controls.Extensions.TextBoxFocusExtensions

Contains an extension for automatically switching focus to next field when the cursor reaches the MexLength position.
Показать файл Открыть проект

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

Свойство Тип Описание
AutoSelectOnFocusHandlerProperty Windows.UI.Xaml.DependencyProperty
AutoSelectOnFocusProperty Windows.UI.Xaml.DependencyProperty
AutoTabOnMaxLengthHandlerProperty Windows.UI.Xaml.DependencyProperty
AutoTabOnMaxLengthProperty Windows.UI.Xaml.DependencyProperty

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

Метод Описание
GetAutoSelectOnFocus ( DependencyObject d ) : bool

Gets the AutoSelectOnFocus property. This dependency property indicates whether the content should be selected when the control receives focus.

GetAutoTabOnMaxLength ( DependencyObject d ) : bool

Gets the AutoTabOnMaxLength property. This dependency property indicates whether the focus should switch to next element when the cursor moves to the position at maximum length of the field..

SetAutoSelectOnFocus ( DependencyObject d, bool value ) : void

Sets the AutoSelectOnFocus property. This dependency property indicates whether the content should be selected when the control receives focus.

SetAutoTabOnMaxLength ( DependencyObject d, bool value ) : void

Sets the AutoTabOnMaxLength property. This dependency property indicates whether the focus should switch to next element when the cursor moves to the position at maximum length of the field..

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

Метод Описание
GetAutoSelectOnFocusHandler ( DependencyObject d ) : AutoSelectOnFocusHandler
GetAutoTabOnMaxLengthHandler ( DependencyObject d ) : AutoTabOnMaxLengthHandler
OnAutoSelectOnFocusChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the AutoSelectOnFocus property.

OnAutoTabOnMaxLengthChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the AutoTabOnMaxLength property.

SetAutoSelectOnFocusHandler ( DependencyObject d, AutoSelectOnFocusHandler value ) : void
SetAutoTabOnMaxLengthHandler ( DependencyObject d, AutoTabOnMaxLengthHandler value ) : void

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

GetAutoSelectOnFocus() публичный статический Метод

Gets the AutoSelectOnFocus property. This dependency property indicates whether the content should be selected when the control receives focus.
public static GetAutoSelectOnFocus ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
Результат bool

GetAutoTabOnMaxLength() публичный статический Метод

Gets the AutoTabOnMaxLength property. This dependency property indicates whether the focus should switch to next element when the cursor moves to the position at maximum length of the field..
public static GetAutoTabOnMaxLength ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
Результат bool

SetAutoSelectOnFocus() публичный статический Метод

Sets the AutoSelectOnFocus property. This dependency property indicates whether the content should be selected when the control receives focus.
public static SetAutoSelectOnFocus ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
Результат void

SetAutoTabOnMaxLength() публичный статический Метод

Sets the AutoTabOnMaxLength property. This dependency property indicates whether the focus should switch to next element when the cursor moves to the position at maximum length of the field..
public static SetAutoTabOnMaxLength ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
Результат void

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

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

AutoSelectOnFocusHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoSelectOnFocusHandlerProperty
Результат Windows.UI.Xaml.DependencyProperty

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

AutoSelectOnFocus Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoSelectOnFocusProperty
Результат Windows.UI.Xaml.DependencyProperty

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

AutoTabOnMaxLengthHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoTabOnMaxLengthHandlerProperty
Результат Windows.UI.Xaml.DependencyProperty

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

AutoTabOnMaxLength Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoTabOnMaxLengthProperty
Результат Windows.UI.Xaml.DependencyProperty