[]
        
(Showing Draft Content)

C1.Win.Input.Base.C1ButtonControl

C1ButtonControl Class

Implements the basic functionality common to C1Button and C1SplitButton controls.

Namespace: C1.Win.Input.Base
Assembly: C1.Win.Input.8.dll
Syntax
public abstract class C1ButtonControl : C1ButtonBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IButtonControl, IUiaButton, IUiaInvokeProvider

Constructors

Name Description
C1ButtonControl(BaseThemeProvider)

Initializes a new instance of the C1ButtonControl class.

Properties

Name Description
AutoSizeMode

Gets or sets the mode by which the button automatically resizes itself.

DialogResult

Gets or sets a value that is returned to the parent form when the button is clicked.

Methods

Name Description
CreateUiaItem(UiaItem)

Creates UI Automation object of this control.

GetPreferredSize(Size)

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

NotifyDefault(bool)

Notifies the buttin whether it is the default button so that it can adjust its appearance accordingly.

OnClick(EventArgs)

Raises the Click event.

OnKeyUp(KeyEventArgs)

Raises the KeyUp event.

OnMouseUp(MouseEventArgs)

Raises the OnMouseUp(MouseEventArgs) event.

PerformClick()

Generates a Click event for the control.

ProcessMnemonic(char)

Processes a mnemonic character.

ToString()

Provides information for the button control in String form.

Events

Name Description
DoubleClick

Occurs when the user double-clicks the button control.

MouseDoubleClick

Occurs when the user double-clicks the button control with the mouse.