# ToolbarItem

Namespace: **Wisej.Hybrid.Shared.Toolbar**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Represents an item in the device's toolbar.

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

```csharp
public class ToolbarItem
```

{% endtab %}

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

```visual-basic
Public Class ToolbarItem
```

{% endtab %}
{% endtabs %}

## Constructors

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

Initializes a new instance of [ToolbarItem](https://docs.wisej.com/hybrid/start/api/ui/wisej.hybrid.shared.toolbar.toolbaritem).

## Fields

| Name     | Type                                                                                                      | Description                         |
| -------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| **Type** | [ToolbarItemType](https://docs.wisej.com/hybrid/start/api/ui/wisej.hybrid.shared.toolbar.toolbaritemtype) | Gets or sets the toolbar item type. |

## Properties

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

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets or sets whether the toolbar item is enabled.

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

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets or sets the image associated with the toolbar item.

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

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets or sets the toolbar item's text.

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

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Gets or sets the width of the button for a fixed space.
