C# Class BaconographyW8.Common.WatermarkTextBox

Inheritance: Windows.UI.Xaml.Controls.TextBox
Datei anzeigen Open project: Synergex/Baconography

Public Properties

Property Type Description
WatermarkStyleProperty Windows.UI.Xaml.DependencyProperty
WatermarkTextProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
WatermarkTextBox ( ) : System.Linq

Initializes a new instance of the WatermarkTextBox class.

Protected Methods

Method Description
OnApplyTemplate ( ) : void
OnGotFocus ( Windows e ) : void
OnLostFocus ( Windows e ) : void

Private Methods

Method Description
OnTextChanged ( object sender, TextChangedEventArgs e ) : void
UpdateWatermarkVisualState ( ) : void
UpdateWatermarkVisualState ( bool isFocused ) : void

Method Details

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

OnGotFocus() protected method

protected OnGotFocus ( Windows e ) : void
e Windows
return void

OnLostFocus() protected method

protected OnLostFocus ( Windows e ) : void
e Windows
return void

WatermarkTextBox() public method

Initializes a new instance of the WatermarkTextBox class.
public WatermarkTextBox ( ) : System.Linq
return System.Linq

Property Details

WatermarkStyleProperty public_oe static_oe property

WatermarkStyle Dependency Property
public static DependencyProperty,Windows.UI.Xaml WatermarkStyleProperty
return Windows.UI.Xaml.DependencyProperty

WatermarkTextProperty public_oe static_oe property

WatermarkText Dependency Property
public static DependencyProperty,Windows.UI.Xaml WatermarkTextProperty
return Windows.UI.Xaml.DependencyProperty