C# Class WpfWatermarkTextBox.Behaviors.WatermarkComboBoxBehavior

Mostrar archivo Open project: pwlodek/CodeGallery Class Usage Examples

Public Properties

Property Type Description
EnableWatermarkProperty System.Windows.DependencyProperty
LabelProperty System.Windows.DependencyProperty
LabelStyleProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetEnableWatermark ( ComboBox obj ) : bool
GetLabel ( ComboBox obj ) : string
GetLabelStyle ( ComboBox obj ) : System.Windows.Style
SetEnableWatermark ( ComboBox obj, bool value ) : void
SetLabel ( ComboBox obj, string value ) : void
SetLabelStyle ( ComboBox obj, System.Windows.Style value ) : void

Private Methods

Method Description
Attach ( ) : void
ComboBoxDragEnter ( object sender, System.Windows.DragEventArgs e ) : void
ComboBoxDragLeave ( object sender, System.Windows.DragEventArgs e ) : void
ComboBoxLoaded ( object sender, RoutedEventArgs e ) : void
Detach ( ) : void
GetWatermarkComboBoxBehavior ( DependencyObject obj ) : WatermarkComboBoxBehavior
Init ( ) : void
OnEnableWatermarkChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetWatermarkComboBoxBehavior ( DependencyObject obj, WatermarkComboBoxBehavior value ) : void
UpdateAdorner ( ) : void
WatermarkComboBoxBehavior ( ComboBox comboBox ) : System

Method Details

GetEnableWatermark() public static method

public static GetEnableWatermark ( ComboBox obj ) : bool
obj System.Windows.Controls.ComboBox
return bool

GetLabel() public static method

public static GetLabel ( ComboBox obj ) : string
obj System.Windows.Controls.ComboBox
return string

GetLabelStyle() public static method

public static GetLabelStyle ( ComboBox obj ) : System.Windows.Style
obj System.Windows.Controls.ComboBox
return System.Windows.Style

SetEnableWatermark() public static method

public static SetEnableWatermark ( ComboBox obj, bool value ) : void
obj System.Windows.Controls.ComboBox
value bool
return void

SetLabel() public static method

public static SetLabel ( ComboBox obj, string value ) : void
obj System.Windows.Controls.ComboBox
value string
return void

SetLabelStyle() public static method

public static SetLabelStyle ( ComboBox obj, System.Windows.Style value ) : void
obj System.Windows.Controls.ComboBox
value System.Windows.Style
return void

Property Details

EnableWatermarkProperty public_oe static_oe property

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

LabelProperty public_oe static_oe property

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

LabelStyleProperty public_oe static_oe property

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