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.
Object Model
Syntax
'Declaration
<System.ComponentModel.LicenseProviderAttribute()>
<System.Windows.TemplatePartAttribute(Name="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)>
<System.Windows.TemplatePartAttribute(Name="DropDownPopup", Type=System.Windows.Controls.Primitives.Popup)>
<System.Windows.TemplateVisualStateAttribute(Name="Opened", GroupName="DropDownOpenStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Closed", GroupName="DropDownOpenStates")>
<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.TemplateVisualStateAttribute(Name="Unfocused", GroupName="FocusStates")>
<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="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public Class C1DropDownButton
Inherits C1HeaderedContentControl
'Usage
Dim instance As C1DropDownButton
[System.ComponentModel.LicenseProvider()]
[System.Windows.TemplatePart(Name="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)]
[System.Windows.TemplatePart(Name="DropDownPopup", Type=System.Windows.Controls.Primitives.Popup)]
[System.Windows.TemplateVisualState(Name="Opened", GroupName="DropDownOpenStates")]
[System.Windows.TemplateVisualState(Name="Closed", GroupName="DropDownOpenStates")]
[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.TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[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="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public class C1DropDownButton : C1HeaderedContentControl
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
C1.WPF.C1HeaderedContentControl
C1.WPF.C1DropDownButton
C1.WPF.C1DropDown
See Also