[]
        
(Showing Draft Content)

C1.Win.Input.Base.C1DropDownControlBase

C1DropDownControlBase Class

Represents a base drop-down control.

Namespace: C1.Win.Input.Base
Assembly: C1.Win.Input.8.dll
Syntax
public abstract class C1DropDownControlBase : C1InputHost, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IDropDownControlBase, IDropDownOwner, ISupportUiaContainer

Constructors

Name Description
C1DropDownControlBase(BaseThemeProvider)

Initializes a new instance of the C1DropDownControlBase class.

Properties

Name Description
AutoOpen

Gets or sets a value indicating whether to open the drop down control when the control receives the focus.

AutoSize
BackColor
ButtonsSettings

Gets the properties of buttons.

DataMember

Gets or sets the member of the data source object to which the control is bound.

DataSource

Gets or sets the data source object to which the control is bound.

DefaultIconSize

Gets or sets the default icon size of control.

DropDownAlign

Gets or sets a value that determines the alignment of the drop down form relative to the control.

DropDownWidth

Gets or set the width of the drop down form.

DroppedDown

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

ExtraIcons

Gets a collection with additional input editor icons.

ForeColor
Form

Gets the drop down form for this drop down control.

GapHeight

Gets or sets a distance in pixels between the control edge and the dropdown.

Icon

Gets or sets the C1Icon that is displayed on a drop down control.

Image

Gets or sets the image that is displayed on a drop down control.

ImageAlign

Gets or sets the alignment of the image.

ImageIndex

Gets or sets the image list index value of the image displayed on a drop down control.

ImageKey

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

ImageList

Gets or sets the ImageList that contains the Image displayed on a drop down control.

Methods

Name Description
ApplyStyle()

Applies the style to control view.

CreateDropDownForm()

Creates the drop down form.

DestroyForm()

Destroys the DropDownForm.

Dispose(bool)

Releases the unmanaged resources used by the C1DropDownControlBase control.

DropDownClicked()

Fires when DropDown button was clicked.

DropDownFormOpening()

Fires before drop down form is opened.

GetDropDownItem(UiaItem)

Gets the UiaItem from the drop down part of this C1DropDownControlBase control.

InitilizeView(IDropDownControlViewBase)

Initializes a view of the C1DropDownControlBase control.

OnCustomButtonClick(EventArgs)

Raises the CustomButtonClick event.

OnDropDownButtonClick(EventArgs)

Raises the DropDownButtonClick event.

OnDropDownClosed(EventArgs)

Raises the DropDownClosed event.

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

OnDropDownOpening(CancelEventArgs)

Raises the DropDownOpening event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

OnModalButtonClick(EventArgs)

Raises the ModalButtonClick event.

OnPostChanges(Element)

Fires when item was clicked on drop down item list.

OnUpDownButtonClick(UpDownButtonClickEventArgs)

Raises the UpDownButtonClick event.

OnVisibleChanged(EventArgs)
ResetButtonsSettings()

Restores the default value of the ButtonsSettings property.

ResetDropDownWidth()

Restores the default value of the DropDownWidth property.

ShouldSerializeButtonsSettings()

Specifies whether to save the value of the ButtonsSettings property.

ShouldSerializeDropDownWidth()

Specifies whether to save the value of the DropDownWidth property.

UpdateIcon()

Updates the control icon.

Events

Name Description
CustomButtonClick

Occurs when Custom button is clicked.

DropDownButtonClick

Occurs when DropDown button is clicked.

DropDownClosed

Occurs when the dropdown has been closed.

DropDownOpened

Occurs after the dropdown is opened.

DropDownOpening

Occurs before the dropdown is opened.

ModalButtonClick

Occurs when Modal button is clicked.

UpDownButtonClick

Occurs when Up or Down buttons are clicked.