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.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "ComboHeader", Type = typeof(C1TextEditableContentControl))]
[TemplatePartAttribute(Name = "ScrollViewer", Type = typeof(ScrollViewer))]
[TemplatePartAttribute(Name = "DropDown", Type = typeof(C1DropDown))]
[TemplatePartAttribute(Name = "HeaderClickInterceptor", Type = typeof(FrameworkElement))]
[TemplateVisualStateAttribute(Name = "Open", GroupName = "DropDownOpenStates")]
[TemplateVisualStateAttribute(Name = "Closed", GroupName = "DropDownOpenStates")]
[StyleTypedPropertyAttribute(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
[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 = typeof(C1ComboBoxItem))]
[StyleTypedPropertyAttribute(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))]
public class C1ComboBox : ItemsControl
Visual Basic
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplatePartAttribute(Name := "ComboHeader", Type := GetType(C1TextEditableContentControl))> _
<TemplatePartAttribute(Name := "ScrollViewer", Type := GetType(ScrollViewer))> _
<TemplatePartAttribute(Name := "DropDown", Type := GetType(C1DropDown))> _
<TemplatePartAttribute(Name := "HeaderClickInterceptor", Type := GetType(FrameworkElement))> _
<TemplateVisualStateAttribute(Name := "Open", GroupName := "DropDownOpenStates")> _
<TemplateVisualStateAttribute(Name := "Closed", GroupName := "DropDownOpenStates")> _
<StyleTypedPropertyAttribute(Property := "ValidationDecoratorStyle", StyleTargetType := GetType(C1ValidationDecorator))> _
<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 := GetType(C1ComboBoxItem))> _
<StyleTypedPropertyAttribute(Property := "ScrollBarStyle", StyleTargetType := GetType(ScrollBar))> _
Public Class C1ComboBox _
	Inherits 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
              C1.Silverlight.Extended.PropertyGrid..::..ColorPaletteEditor
              C1.Silverlight.Extended.PropertyGrid..::..EnumEditor

See Also