C# Class WinRTXamlToolkit.Controls.Extensions.PasswordBoxFocusExtensions

Contains an extension for automatically switching focus to next field when the cursor reaches the MexLength position.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
AutoSelectOnFocusProperty Windows.UI.Xaml.DependencyProperty
AutoTabOnMaxLengthProperty Windows.UI.Xaml.DependencyProperty
PasswordAutoSelectOnFocusHandlerProperty Windows.UI.Xaml.DependencyProperty
PasswordAutoTabOnMaxLengthHandlerProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
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..

Private Methods

Méthode Description
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

Method Details

GetAutoSelectOnFocus() public static méthode

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
Résultat bool

GetAutoTabOnMaxLength() public static méthode

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
Résultat bool

SetAutoSelectOnFocus() public static méthode

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
Résultat void

SetAutoTabOnMaxLength() public static méthode

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
Résultat void

Property Details

AutoSelectOnFocusProperty public_oe static_oe property

AutoSelectOnFocus Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoSelectOnFocusProperty
Résultat Windows.UI.Xaml.DependencyProperty

AutoTabOnMaxLengthProperty public_oe static_oe property

AutoTabOnMaxLength Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoTabOnMaxLengthProperty
Résultat Windows.UI.Xaml.DependencyProperty

PasswordAutoSelectOnFocusHandlerProperty public_oe static_oe property

PasswordAutoSelectOnFocusHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml PasswordAutoSelectOnFocusHandlerProperty
Résultat Windows.UI.Xaml.DependencyProperty

PasswordAutoTabOnMaxLengthHandlerProperty public_oe static_oe property

PasswordAutoTabOnMaxLengthHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml PasswordAutoTabOnMaxLengthHandlerProperty
Résultat Windows.UI.Xaml.DependencyProperty