# IButtonControl

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Allows a control to act like a button on a [Form](https://docs.wisej.com/api/wisej.web/containers/form).

{% tabs %}
{% tab title="C#" %}

```csharp
public interface IButtonControl
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Interface IButtonControl
```

{% endtab %}
{% endtabs %}

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) DialogResult

[DialogResult](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.dialogresult): Returns or sets the value returned to the parent form when the button is clicked.

## Methods

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) PerformClick()

Generates a [Click](https://docs.wisej.com/api/general/control#click) event for the control.

## Implemented By

| Name                                                                              | Description                        |
| --------------------------------------------------------------------------------- | ---------------------------------- |
| [Button](https://docs.wisej.com/api/wisej.web/buttons/button)                     | Represents a button control.       |
| [Label](https://docs.wisej.com/api/wisej.web/content/wisej.web.label)             | Represents a label control.        |
| [LinkLabel](https://docs.wisej.com/api/wisej.web/content/linklabel)               | Represents an hyper-link control.  |
| [PictureBox](https://docs.wisej.com/api/wisej.web/content/wisej.web.picturebox)   | Represents an image control.       |
| [SplitButton](https://docs.wisej.com/api/wisej.web/buttons/wisej.web.splitbutton) | Represents a split button control. |
