ComponentOne FinancialChart for WPF
C1DropDownButton Class
Members 



C1.WPF 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.
Syntax
'Declaration
 
<LicenseProviderAttribute()>
<TemplatePartAttribute(Name="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)>
<TemplatePartAttribute(Name="DropDownPopup", Type=System.Windows.Controls.Primitives.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")>
<TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public Class C1DropDownButton 
   Inherits C1HeaderedContentControl
'Usage
 
Dim instance As C1DropDownButton
[LicenseProvider()]
[TemplatePart(Name="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)]
[TemplatePart(Name="DropDownPopup", Type=System.Windows.Controls.Primitives.Popup)]
[TemplateVisualState(Name="Opened", 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="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public class C1DropDownButton : C1HeaderedContentControl 
[LicenseProvider()]
[TemplatePart(Name="ArrowToggle", Type=System.Windows.Controls.Primitives.ToggleButton)]
[TemplatePart(Name="DropDownPopup", Type=System.Windows.Controls.Primitives.Popup)]
[TemplateVisualState(Name="Opened", 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="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public ref class C1DropDownButton : public 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

Reference

C1DropDownButton Members
C1.WPF Namespace