C# Class WpfWatermarkTextBox.Behaviors.WatermarkComboBoxBehavior

Afficher le fichier Open project: pwlodek/CodeGallery Class Usage Examples

Méthodes publiques

Свойство Type Description
EnableWatermarkProperty System.Windows.DependencyProperty
LabelProperty System.Windows.DependencyProperty
LabelStyleProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetEnableWatermark ( ComboBox obj ) : bool
obj System.Windows.Controls.ComboBox
Résultat bool

GetLabel() public static méthode

public static GetLabel ( ComboBox obj ) : string
obj System.Windows.Controls.ComboBox
Résultat string

GetLabelStyle() public static méthode

public static GetLabelStyle ( ComboBox obj ) : System.Windows.Style
obj System.Windows.Controls.ComboBox
Résultat System.Windows.Style

SetEnableWatermark() public static méthode

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

SetLabel() public static méthode

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

SetLabelStyle() public static méthode

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

Property Details

EnableWatermarkProperty public_oe static_oe property

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

LabelProperty public_oe static_oe property

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

LabelStyleProperty public_oe static_oe property

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