[]
        
(Showing Draft Content)

C1.Win.C1InputPanel.InputButton

InputButton Class

Represents a button element in a C1InputPanel control.

Namespace: C1.Win.C1InputPanel
Assembly: C1.Win.C1InputPanel.4.8.dll
Syntax
public class InputButton : InputComponent, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable

Constructors

Name Description
InputButton()

Initializes a new instance of InputButton.

Properties

Name Description
AutoEllipsis

Enables the automatic handling of text that extends beyond the width of the button.

CheckOnClick

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

DialogResult

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

Image

Gets or sets the image associated with the InputButton.

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.

Pressed

Gets or sets a value that indicates whether the button is pressed.

Text

Gets or sets the text associated with the component.

Methods

Name Description
OnPressedChanged(EventArgs)

Raises the PressedChanged event.

PerformClick()

Generates a Click event for a button.

ResetPressed()
ShouldSerializePressed()

Events

Name Description
PressedChanged

Fires when the Pressed property is changed.