C# Class Gu.Wpf.Adorners.Watermark

Afficher le fichier Open project: JohanLarsson/Gu.Wpf.Adorners

Méthodes publiques

Свойство Type Description
IsShowingProperty System.Windows.DependencyProperty
TextProperty DependencyProperty
TextStyleProperty DependencyProperty
VisibleWhenProperty DependencyProperty

Méthodes publiques

Méthode Description
GetIsShowing ( this element ) : bool
SetText ( this element, string value ) : void
SetTextStyle ( this element, Style value ) : void
SetVisibleWhen ( this element, WatermarkVisibleWhen value ) : void

Private Methods

Méthode Description
GetAdorner ( this element ) : WatermarkAdorner
GetText ( this element ) : string
GetTextStyle ( this element ) : System.Windows.Style
GetVisibleWhen ( this element ) : WatermarkVisibleWhen
OnAdornerChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnGotKeyboardFocus ( object sender, RoutedEventArgs e ) : void
OnIsShowingChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsVisibleChanged ( object sender, RoutedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnLostKeyboardFocus ( object sender, RoutedEventArgs e ) : void
OnSizeChanged ( object sender, RoutedEventArgs e ) : void
OnTextChanged ( object sender, RoutedEventArgs e ) : void
OnTextStyleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnUnLoaded ( object sender, RoutedEventArgs e ) : void
OnValidateTextStyle ( object value ) : bool
OnVisibleWhenChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnWatermarkTextChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetAdorner ( this element, WatermarkAdorner value ) : void
SetIsShowing ( this element, bool value ) : void
UpdateIsShowing ( TextBox textBox ) : void
Watermark ( ) : System

Method Details

GetIsShowing() public static méthode

public static GetIsShowing ( this element ) : bool
element this
Résultat bool

SetText() public static méthode

public static SetText ( this element, string value ) : void
element this
value string
Résultat void

SetTextStyle() public static méthode

public static SetTextStyle ( this element, Style value ) : void
element this
value Style
Résultat void

SetVisibleWhen() public static méthode

public static SetVisibleWhen ( this element, WatermarkVisibleWhen value ) : void
element this
value WatermarkVisibleWhen
Résultat void

Property Details

IsShowingProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsShowingProperty
Résultat System.Windows.DependencyProperty

TextProperty public_oe static_oe property

public static DependencyProperty TextProperty
Résultat DependencyProperty

TextStyleProperty public_oe static_oe property

public static DependencyProperty TextStyleProperty
Résultat DependencyProperty

VisibleWhenProperty public_oe static_oe property

public static DependencyProperty VisibleWhenProperty
Résultat DependencyProperty