C1DropDown provides a generic drop-down control with a Header property that determines what the user sees when the drop-down part of the control is closed, and a Content property that determines what goes into the drop-down section.

Namespace:  C1.WPF
Assembly:  C1.WPF (in C1.WPF.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

C#
[TemplateVisualStateAttribute(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[LicenseProviderAttribute]
[TemplatePartAttribute(Name = "ArrowToggle", Type = typeof(ToggleButton))]
[TemplatePartAttribute(Name = "DropDownPopup", Type = typeof(Popup))]
[TemplateVisualStateAttribute(Name = "Opened", 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")]
public class C1DropDownButton : C1HeaderedContentControl
Visual Basic
<TemplateVisualStateAttribute(Name := "InvalidFocused", GroupName := "ValidationStatesStates")> _
<LicenseProviderAttribute> _
<TemplatePartAttribute(Name := "ArrowToggle", Type := GetType(ToggleButton))> _
<TemplatePartAttribute(Name := "DropDownPopup", Type := GetType(Popup))> _
<TemplateVisualStateAttribute(Name := "Opened", 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")> _
Public Class C1DropDownButton _
	Inherits C1HeaderedContentControl
XAML Object Element Usage
<C1DropDownButton .../>

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..::..ContentControl
                C1HeaderedContentControl
                  C1.WPF..::..C1DropDownButton
                    C1.WPF..::..C1DropDown

See Also