[]
        
(Showing Draft Content)

C1.Win.Input.SplitButtonItem

SplitButtonItem Class

Represents drop down item for C1SplitButton control.

Inheritance
SplitButtonItem
Namespace: C1.Win.Input
Assembly: C1.Win.Input.8.dll
Syntax
public class SplitButtonItem : Component, IComponent, IDisposable, IDropDownOwnerExtended, IDropDownOwner

Constructors

Name Description
SplitButtonItem()

Initializes a new instance of the SplitButtonItem class.

Properties

Name Description
CheckOnClick

Gets or sets a value that indicates whether the item should toggle its pressed state when it is clicked.

Checked

Gets or sets a value that indicates whether the item is checked.

DialogResult

Gets or sets the dialog-box result produced in a modal form by clicking the button.

DroppedDown

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

Enabled

Gets or sets a value indicating whether the item can respond to user interaction.

Icon

Gets or sets the C1Icon that is displayed on an item.

ImageIndex

Gets or sets the image list index value of the image displayed on an item.

ImageKey

Gets or sets the key accessor for the image in the ImageList.

ImageList

Gets the ImageList that contains the Image displayed on an item.

Items

Gets the collection of child items in that is associated with this SplitButtonItem.

Tag

Gets or sets the object that contains data about the item.

Text

Gets or sets the text associated with the component.

Visible

Gets or sets a value indicating whether the item is visible.

Methods

Name Description
Dispose(bool)

Releases the unmanaged resources used by the SplitButtonItem class.

OnClick(EventArgs)

Raises the Click event.

OnDropDownClosed(EventArgs)

Raises the DropDownClosed event.

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

ResetItems()

Restores the default value of the Items property.

ShouldSerializeItems()

Specifies whether to save the value of the Items property.

Events

Name Description
Click

Occurs when a SplitButtonItem is clicked.

DropDownClosed

Occurs when the dropdown has been closed.

DropDownOpened

Occurs after the dropdown is opened.