Xceed Toolkit Plus for WPF v4.6 Documentation
WatermarkComboBox Class
Members 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : WatermarkComboBox Class
Represents a ComboBox with a customizable watermark.
Syntax
'Declaration
 
<LocalizabilityAttribute(LocalizationCategory.ComboBox)>

<TemplatePartAttribute(Name="PART_EditableTextBox", Type=System.Windows.Controls.TextBox)>

<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.ComboBoxItem)>

<DefaultEventAttribute("SelectionChanged")>

<DefaultPropertyAttribute("SelectedIndex")>

<ContentPropertyAttribute("Items")>

<XmlLangPropertyAttribute("Language")>

<UsableDuringInitializationAttribute(True)>

<RuntimeNamePropertyAttribute("Name")>

<UidPropertyAttribute("Uid")>

<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>

<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>

Public Class WatermarkComboBox 

   Inherits System.Windows.Controls.ComboBox
'Usage
 
Dim instance As WatermarkComboBox
[Localizability(LocalizationCategory.ComboBox)]

[TemplatePart(Name="PART_EditableTextBox", Type=System.Windows.Controls.TextBox)]

[StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.ComboBoxItem)]

[DefaultEvent("SelectionChanged")]

[DefaultProperty("SelectedIndex")]

[ContentProperty("Items")]

[XmlLangProperty("Language")]

[UsableDuringInitialization(true)]

[RuntimeNameProperty("Name")]

[UidProperty("Uid")]

[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]

[NameScopeProperty("NameScope", System.Windows.NameScope)]

public class WatermarkComboBox : System.Windows.Controls.ComboBox 
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ItemsControl
                        System.Windows.Controls.Primitives.Selector
                           System.Windows.Controls.ComboBox
                              Xceed.Wpf.Toolkit.WatermarkComboBox

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WatermarkComboBox Members
Xceed.Wpf.Toolkit Namespace