[]
        
(Showing Draft Content)

C1.Win.C1Input.DropDownItem

DropDownItem Class

Represents drop down item for C1SplitButton control.

Inheritance
DropDownItem
Implements
Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
public class DropDownItem : Component, IComponent, IDisposable

Constructors

Name Description
DropDownItem()

Creates an instance of DropDownItem 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.

Enabled

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

Image

Gets or sets the image associated with the DropDownItem.

ImageAlign

Gets or sets the alignment of the image within the bounds specified by the ImageSize property.

ImageIndex

Gets or sets the index of the image in the ImageList.

ImageKey

Gets or sets the image key in the ImageList.

ImageScaling

Gets or sets how the image will be scaled to fit within the bounds specified by the ImageSize property.

ImageSize

Gets or sets the size of the image that will be displayed on the button.

IsDisposed

Gets a value indicating whether the component has been disposed.

Items

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

SplitButton

Gets the C1SplitButton that this DropDownItem belongs to.

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 resources used by the DropDownItem.

OnClick(EventArgs)

Raises the Click event.

OnDoubleClick(EventArgs)

Raises the DoubleClick event.

OnDropDown(EventArgs)

Raises the DropDown event.

OnDropDownClosed(EventArgs)

Raises the DropDownClosed event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnKeyPress(KeyPressEventArgs)

Raises the KeyPress event.

OnKeyUp(KeyEventArgs)

Raises the KeyUp event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

ResetPressed()
ShouldSerializeChecked()

Events

Name Description
Click

Fires when the component is clicked.

DoubleClick

Fires when the component is double-clicked.

DropDown

Fires when the drop-down portion of this element is shown.

DropDownClosed

Indicates that the drop-down portion of this element has closed.

GotFocus

Fires when the component receives the focus.

KeyDown

Fires when a key is pressed while the component has focus.

KeyPress

Fires when a key is pressed while the component has focus.

KeyUp

Fires when a key is released while the component has focus.

LostFocus

Fires when the component loses the focus.