C# Class FirstFloor.ModernUI.Windows.Controls.PlaceholderTextBlock

Inheritance: System.Windows.Controls.TextBlock, IValueConverter
Mostra file Open project: gro-ove/actools

Public Properties

Property Type Description
PlaceholderProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Protected Methods

Method Description
SetPlaceholder ( ) : void

Private Methods

Method Description
OnPlaceholderChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTextChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Update ( ) : void

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object

SetPlaceholder() protected method

protected SetPlaceholder ( ) : void
return void

Property Details

PlaceholderProperty public_oe static_oe property

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

TextProperty public_oe static_oe property

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