[]
        
(Showing Draft Content)

C1.Win.C1Input.C1SplitButton

C1SplitButton Class

Represents a composite button control supporting additional visual styles and drop down item list.

Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1Button), "C1SplitButton.png")]
public class C1SplitButton : C1Button, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, ISupportInitialize

Constructors

Name Description
C1SplitButton()

Initializes a new instance of the C1SplitButton class.

Properties

Name Description
DefaultItem

Gets or sets the default drop down item.

DefaultSize
DefaultThemeRootPath

Default path for the control in xml theme file.

DropDownImage
DropDownImageList

The ImageList to get the images to display in the drop down items.

DroppedDown

Run-time property indicating if the dropdown is currently open.

ImageIndex
ImageKey
ItemStyle

Gets the style of DropDownItem components on this button.

Items

Gets the collection of DropDownItem components on this button.

Methods

Name Description
CreateAccessibilityInstance()
Dispose(bool)

Releases the resources used by the C1SplitButton.

GetPreferredSize(Size)

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

InitLayout()
OnClick(EventArgs)
OnCreateControl()
OnDropDownClosed(DropDownClosedEventArgs)

This method is for internal use only.

OnDropDownItemClicked(DropDownItemClickedEventArgs)

Raises DropDownItemClicked event.

OnDropDownOpened(EventArgs)

This method is for internal use only.

OnFontChanged(EventArgs)
OnKeyDown(KeyEventArgs)
OnLayout(LayoutEventArgs)
OnMouseDown(MouseEventArgs)
OnMouseEnter(EventArgs)
OnMouseLeave(EventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnPaint(PaintEventArgs)
OnRightToLeftChanged(EventArgs)
OnVisibleChanged(EventArgs)
OnVisualStyleChanged(EventArgs)

Invokes the VisualStyleChanged event.

PreProcessMessage(ref Message)
ResetItemStyle()

Restores the default value of the ItemStyle property.

ShouldSerializeItemStyle()

Specifies whether to save the value of the ItemStyle property.

WndProc(ref Message)

Events

Name Description
DropDownClosed

Occurs when the dropdown has been closed.

DropDownItemClicked

Occurs when a DropDownItem is clicked.

DropDownOpened

Occurs after the dropdown is opened.