C# Класс WinRTXamlToolkit.Controls.WatermarkPasswordBox

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

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

Свойство Тип Описание
MaxLengthProperty Windows.UI.Xaml.DependencyProperty
PasswordCharProperty Windows.UI.Xaml.DependencyProperty
PasswordProperty Windows.UI.Xaml.DependencyProperty
PasswordRevealModeProperty Windows.UI.Xaml.DependencyProperty
WatermarkProperty Windows.UI.Xaml.DependencyProperty
WatermarkTextProperty Windows.UI.Xaml.DependencyProperty
WatermarkTextStyleProperty Windows.UI.Xaml.DependencyProperty
WatermarkTextStyleRelayProperty Windows.UI.Xaml.DependencyProperty

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

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

Gets the Watermark property. This dependency property indicates an arbitrary content to use as a Watermark.

GetWatermarkText ( DependencyObject d ) : string

Gets the WatermarkText property. This dependency property indicates the watermark text to show to the user.

GetWatermarkTextStyleRelay ( DependencyObject d ) : Style

Gets the WatermarkTextStyleRelay property. This dependency property indicates the style of the watermark TextBlock.

SelectAll ( ) : void

Selects all the character in the PasswordBox.

SetWatermark ( DependencyObject d, object value ) : void

Sets the Watermark property. This dependency property indicates an arbitrary content to use as a Watermark.

SetWatermarkText ( DependencyObject d, string value ) : void

Sets the WatermarkText property. This dependency property indicates the watermark text to show to the user.

SetWatermarkTextStyleRelay ( DependencyObject d, Style value ) : void

Sets the WatermarkTextStyleRelay property. This dependency property indicates the style of the watermark TextBlock.

WatermarkPasswordBox ( ) : System.Linq

Initializes a new instance of the WatermarkPasswordBox class.

Защищенные методы

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

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

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

Метод Описание
InnerPasswordBoxOnContextMenuOpening ( object sender, ContextMenuEventArgs contextMenuEventArgs ) : void
InnerPasswordBoxOnGotFocus ( object sender, RoutedEventArgs e ) : void
InnerPasswordBoxOnKeyUp ( object sender, KeyRoutedEventArgs e ) : void
InnerPasswordBoxOnLostFocus ( object sender, RoutedEventArgs e ) : void
InnerPasswordBoxOnPasswordChanged ( object sender, RoutedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs routedEventArgs ) : void
UpdateWatermarkVisualState ( ) : void
UpdateWatermarkVisualState ( bool isFocused, bool useTransitions = true ) : void

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

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

Gets the Watermark property. This dependency property indicates an arbitrary content to use as a Watermark.
public static GetWatermark ( DependencyObject d ) : object
d Windows.UI.Xaml.DependencyObject
Результат object

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

Gets the WatermarkText property. This dependency property indicates the watermark text to show to the user.
public static GetWatermarkText ( DependencyObject d ) : string
d Windows.UI.Xaml.DependencyObject
Результат string

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

Gets the WatermarkTextStyleRelay property. This dependency property indicates the style of the watermark TextBlock.
public static GetWatermarkTextStyleRelay ( DependencyObject d ) : Style
d Windows.UI.Xaml.DependencyObject
Результат Windows.UI.Xaml.Style

OnApplyTemplate() защищенный Метод

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
Результат void

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

Selects all the character in the PasswordBox.
public SelectAll ( ) : void
Результат void

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

Sets the Watermark property. This dependency property indicates an arbitrary content to use as a Watermark.
public static SetWatermark ( DependencyObject d, object value ) : void
d Windows.UI.Xaml.DependencyObject
value object
Результат void

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

Sets the WatermarkText property. This dependency property indicates the watermark text to show to the user.
public static SetWatermarkText ( DependencyObject d, string value ) : void
d Windows.UI.Xaml.DependencyObject
value string
Результат void

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

Sets the WatermarkTextStyleRelay property. This dependency property indicates the style of the watermark TextBlock.
public static SetWatermarkTextStyleRelay ( DependencyObject d, Style value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Xaml.Style
Результат void

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

Initializes a new instance of the WatermarkPasswordBox class.
public WatermarkPasswordBox ( ) : System.Linq
Результат System.Linq

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

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

MaxLength Dependency Property
public static DependencyProperty,Windows.UI.Xaml MaxLengthProperty
Результат Windows.UI.Xaml.DependencyProperty

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

PasswordChar Dependency Property
public static DependencyProperty,Windows.UI.Xaml PasswordCharProperty
Результат Windows.UI.Xaml.DependencyProperty

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

Password Dependency Property
public static DependencyProperty,Windows.UI.Xaml PasswordProperty
Результат Windows.UI.Xaml.DependencyProperty

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

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

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

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

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

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

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

WatermarkTextStyle Dependency Property
public static DependencyProperty,Windows.UI.Xaml WatermarkTextStyleProperty
Результат Windows.UI.Xaml.DependencyProperty

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

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