ComponentOne Basic Library for WPF and Silverlight
C1ComboBox Class
Members 


C1.Silverlight Namespace : C1ComboBox Class
The C1ComboBox control combines an editable text box with an auto-searchable drop-down list. The list can be shown or hidden by clicking the control’s drop-down arrow.
Object Model
C1ComboBox Class
Syntax
'Declaration
 
<System.Windows.TemplateVisualStateAttribute(Name="Unfocused", GroupName="FocusStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Closed", GroupName="DropDownOpenStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<System.Windows.StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=C1.Silverlight.C1ComboBoxItem)>
<System.Windows.StyleTypedPropertyAttribute(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)>
<System.Windows.StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)>
<System.Windows.TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
<System.Windows.TemplatePartAttribute(Name="ComboHeader", Type=C1.Silverlight.C1TextEditableContentControl)>
<System.Windows.TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)>
<System.Windows.TemplatePartAttribute(Name="DropDown", Type=C1.Silverlight.C1DropDown)>
<System.Windows.TemplatePartAttribute(Name="HeaderClickInterceptor", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplateVisualStateAttribute(Name="Open", GroupName="DropDownOpenStates")>
Public Class C1ComboBox 
   Inherits System.Windows.Controls.ItemsControl
'Usage
 
Dim instance As C1ComboBox
[System.Windows.TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[System.Windows.TemplateVisualState(Name="Closed", GroupName="DropDownOpenStates")]
[System.Windows.TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[System.Windows.StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=C1.Silverlight.C1ComboBoxItem)]
[System.Windows.StyleTypedProperty(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)]
[System.Windows.StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)]
[System.Windows.TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[System.Windows.TemplatePart(Name="ComboHeader", Type=C1.Silverlight.C1TextEditableContentControl)]
[System.Windows.TemplatePart(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
[System.Windows.TemplatePart(Name="DropDown", Type=C1.Silverlight.C1DropDown)]
[System.Windows.TemplatePart(Name="HeaderClickInterceptor", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplateVisualState(Name="Open", GroupName="DropDownOpenStates")]
public class C1ComboBox : System.Windows.Controls.ItemsControl 
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  C1.Silverlight.C1ComboBox

See Also

Reference

C1ComboBox Members
C1.Silverlight Namespace