[]
Implements dropdown form for SplitButtonElement
public class SplitButtonElement.DropDownList : DropDownFormBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IDropDownForm, IDisposable, IMessageFilter, ISupportUia, ISupportUiaContainer
Name | Description |
---|---|
DropDownList(SplitButtonElement) | Creates a new instance of SplitButtonElement.DropDownList |
Name | Description |
---|---|
Items | Gets SplitButtonElement.DropDownList child items. |
SelectedIndex | Gets an index of the selected item or sets the SelectedItem by the given index. |
SelectedItem | Gets or sets currently selected item. |
Name | Description |
---|---|
AddItems(IEnumerable<SplitButtonElementDropDownListItem>) | Fills dropdown with items. |
AddItems(IEnumerable<string>) | Fills dropdown with items. |
ApplyStyle(BaseStyle, int) | Applies the style to drop down form. |
ClearItems() | Clears the Items list. |
GetContentSize() | Returns the initial size for drop down form. |
GetOwnerBounds() | Returns the bounds of the view in which the dropdown form belongs. |
ItemsContains(string) | Determinew whether there is a child item with given value or not. |
OnOwnerDropDownOpened() | Raises the DropDownOwner.DropDownOpened event. |
OnRightToLeftChanged(EventArgs) | |
OnSelectedItemChanged() | Raises the SelectedItemChanged event. |
OnVisibleChanged(EventArgs) | |
SetSelectedItem(string) | Sets item with defined value as SelectedItem. |
UpdateLayout() | Updates dropdown size to fit all items. |
Name | Description |
---|---|
SelectedItemChanged | Event raised when selected item changed. |