[]
This control represents a drop-down button, with a Content element.
[StyleTypedProperty(Property = "PopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[TemplatePart(Name = "DropDown", Type = typeof(C1DropDownButton))]
public class C1DropDownTool : C1Tool
| Name | Description |
|---|---|
| C1DropDownTool() | Initializes a new instance of the C1DropDownTool class. |
| Name | Description |
|---|---|
| ContentProperty | Identifies the Content dependency property. |
| ContentTemplateProperty | Identifies the ContentTemplate dependency property. |
| IsDropDownOpenProperty | Identifies the IsDropDownOpen dependency property. |
| PopupStyleProperty | Identifies the PopupStyle dependency property. |
| Name | Description |
|---|---|
| Content | Gets or sets the popup content. |
| ContentTemplate | Gets or sets the DataTemplate used to create the popup content. |
| IsDropDownOpen | Gets or sets whether the drop-down is opened. |
| PopupStyle | Gets or sets the style of the popup. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| OnApplyTemplate() | |
| OnKeyDown(KeyEventArgs) | Invoked on keyboard key down over C1DropDownTool. This method overrides UIElement.OnKeyDown and will close the C1DropDownTool menu based on keyboard input. This prevents focus from getting out of the dropdown if TAB or arrow keys are pressed. This applies only when the dropdown is open. |
| Name | Description |
|---|---|
| IsDropDownOpenChanged | Occurs when the drop-down is open or closed. |