[]
        
(Showing Draft Content)

C1.Win.Input.C1SplitButton

C1SplitButton Class

Represents a split button control.

Namespace: C1.Win.Input
Assembly: C1.Win.Input.8.dll
Syntax
[ToolboxBitmap(typeof(C1SplitButton), "C1SplitButton.png")]
public class C1SplitButton : C1ButtonControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaButton, IButtonControl, IDropDownOwnerExtended, IDropDownOwner, IUiaSplitButton, IUiaInvokeProvider, IUiaExpandCollapseProvider, ISupportUiaContainer

Constructors

Name Description
C1SplitButton()

Initializes a new instance of the C1SplitButton class.

Properties

Name Description
DroppedDown

Gets or sets a value indicating if the dropdown is currently open.

Items

Gets the collection of SplitButtonItem components on this split button.

ItemsImageList

Gets or sets the ImageList to get the images to display in the drop down items.

Styles

Gets or sets the C1SplitButton styles.

Methods

Name Description
CreateUiaItem(UiaItem)

Creates UI Automation object of this control.

Dispose(bool)

Releases the unmanaged resources used by the C1SplitButton control.

GetPreferredSize(Size)

Retrieves the size of a rectangular area into which a control can be fitted.

OnDropDownClosed(EventArgs)

Raises the DropDownClosed event.

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

OnItemClicked(ItemClickedEventArgs)

Raises the ItemClicked event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

ResetItems()

Restores the default value of the Items property.

ShouldSerializeItems()

Specifies whether to save the value of the Items property.

Events

Name Description
DropDownClosed

Occurs when the dropdown has been closed.

DropDownOpened

Occurs after the dropdown is opened.

ItemClicked

Occurs when a SplitButtonItem is clicked.