ComponentOne FinancialChart for WPF
C1ComboBox Class
Members 



C1.WPF 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.
Syntax
'Declaration
 
<LicenseProviderAttribute()>
<TemplatePartAttribute(Name="ComboHeader", Type=C1.WPF.C1TextEditableContentControl)>
<TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)>
<TemplatePartAttribute(Name="DropDown", Type=C1.WPF.C1DropDown)>
<TemplatePartAttribute(Name="HeaderClickInterceptor", Type=System.Windows.FrameworkElement)>
<TemplateVisualStateAttribute(Name="Open", GroupName="DropDownOpenStates")>
<TemplateVisualStateAttribute(Name="Closed", GroupName="DropDownOpenStates")>
<TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
<TemplateVisualStateAttribute(Name="Unfocused", GroupName="FocusStates")>
<TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=C1.WPF.C1ComboBoxItem)>
<StyleTypedPropertyAttribute(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)>
<StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public Class C1ComboBox 
   Inherits System.Windows.Controls.ItemsControl
'Usage
 
Dim instance As C1ComboBox
[LicenseProvider()]
[TemplatePart(Name="ComboHeader", Type=C1.WPF.C1TextEditableContentControl)]
[TemplatePart(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
[TemplatePart(Name="DropDown", Type=C1.WPF.C1DropDown)]
[TemplatePart(Name="HeaderClickInterceptor", Type=System.Windows.FrameworkElement)]
[TemplateVisualState(Name="Open", GroupName="DropDownOpenStates")]
[TemplateVisualState(Name="Closed", GroupName="DropDownOpenStates")]
[TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=C1.WPF.C1ComboBoxItem)]
[StyleTypedProperty(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)]
[StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public class C1ComboBox : System.Windows.Controls.ItemsControl 
[LicenseProvider()]
[TemplatePart(Name="ComboHeader", Type=C1.WPF.C1TextEditableContentControl)]
[TemplatePart(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
[TemplatePart(Name="DropDown", Type=C1.WPF.C1DropDown)]
[TemplatePart(Name="HeaderClickInterceptor", Type=System.Windows.FrameworkElement)]
[TemplateVisualState(Name="Open", GroupName="DropDownOpenStates")]
[TemplateVisualState(Name="Closed", GroupName="DropDownOpenStates")]
[TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=C1.WPF.C1ComboBoxItem)]
[StyleTypedProperty(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)]
[StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public ref class C1ComboBox : public System.Windows.Controls.ItemsControl 
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
                        C1.WPF.C1ComboBox

See Also

Reference

C1ComboBox Members
C1.WPF Namespace