ComponentOne Basic Library for WPF and Silverlight
C1DropDownButton Class
Members 


C1.Silverlight Namespace : C1DropDownButton Class
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
C1DropDownButton Class
Syntax
'Declaration
 
<System.Windows.TemplateVisualStateAttribute(Name="Unfocused", GroupName="FocusStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<System.Windows.StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)>
<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="InvalidUnfocused", GroupName="ValidationStatesStates")>
<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="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)>
Public Class C1DropDownButton 
   Inherits C1HeaderedContentControl
'Usage
 
Dim instance As C1DropDownButton
[System.Windows.TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[System.Windows.TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[System.Windows.StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)]
[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="InvalidUnfocused", GroupName="ValidationStatesStates")]
[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="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)]
public class C1DropDownButton : C1HeaderedContentControl 
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  C1.Silverlight.C1HeaderedContentControl
                     C1.Silverlight.C1DropDownButton
                        C1.Silverlight.C1DropDown

See Also

Reference

C1DropDownButton Members
C1.Silverlight Namespace