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

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

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

Свойство Тип Описание
AutoSelectOnFocusProperty Windows.UI.Xaml.DependencyProperty
AutoTabOnMaxLengthProperty Windows.UI.Xaml.DependencyProperty
PasswordAutoSelectOnFocusHandlerProperty Windows.UI.Xaml.DependencyProperty
PasswordAutoTabOnMaxLengthHandlerProperty 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..

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

Метод Описание
GetPasswordAutoSelectOnFocusHandler ( DependencyObject d ) : PasswordAutoSelectOnFocusHandler
GetPasswordAutoTabOnMaxLengthHandler ( DependencyObject d ) : PasswordAutoTabOnMaxLengthHandler
OnAutoSelectOnFocusChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the AutoSelectOnFocus property.

OnAutoTabOnMaxLengthChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the AutoTabOnMaxLength property.

SetPasswordAutoSelectOnFocusHandler ( DependencyObject d, PasswordAutoSelectOnFocusHandler value ) : void
SetPasswordAutoTabOnMaxLengthHandler ( DependencyObject d, PasswordAutoTabOnMaxLengthHandler 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

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

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

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

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

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

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

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

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

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