C# Class Microsoft.R.Wpf.Controls.Watermark

显示文件 Open project: Microsoft/RTVS

Public Properties

Property Type Description
TextBoxHintProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetTextBoxHint ( TextBox frameworkElement ) : string
SetTextBoxHint ( TextBox textBox, string value ) : void

Private Methods

Method Description
EnsureAdorner ( TextBox textBox ) : System.Windows.Controls.TextBlock
OnTextBoxHintChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

Method Details

GetTextBoxHint() public static method

public static GetTextBoxHint ( TextBox frameworkElement ) : string
frameworkElement System.Windows.Controls.TextBox
return string

SetTextBoxHint() public static method

public static SetTextBoxHint ( TextBox textBox, string value ) : void
textBox System.Windows.Controls.TextBox
value string
return void

Property Details

TextBoxHintProperty public_oe static_oe property

public static DependencyProperty,System.Windows TextBoxHintProperty
return System.Windows.DependencyProperty