In This Topic
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
<C1ControlAttribute()>
<C1TemplatePartAttribute(Name="DropDownButton", Type=C1.WPF.Core.C1ToggleButton)>
<C1VisualStateAttribute(Name="Opened",
GroupName="DropDownOpen",
Condition="IsDropDownOpen")>
<StyleTypedPropertyAttribute(Property="PopupStyle", StyleTargetType=C1.WPF.Input.C1PopupBorder)>
<TemplatePartAttribute(Name="DropDownButton", Type=C1.WPF.Core.C1ToggleButton)>
<TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<DefaultPropertyAttribute("Content")>
<ContentPropertyAttribute("Content")>
<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class C1DropDown
Inherits C1DropDownButton
[C1Control()]
[C1TemplatePart(Name="DropDownButton", Type=C1.WPF.Core.C1ToggleButton)]
[C1VisualState(Name="Opened",
GroupName="DropDownOpen",
Condition="IsDropDownOpen")]
[StyleTypedProperty(Property="PopupStyle", StyleTargetType=C1.WPF.Input.C1PopupBorder)]
[TemplatePart(Name="DropDownButton", Type=C1.WPF.Core.C1ToggleButton)]
[TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[DefaultProperty("Content")]
[ContentProperty("Content")]
[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class C1DropDown : C1DropDownButton
Inheritance Hierarchy
See Also