# XSalToolbar

Namespace: **PPJ.Runtime.XSal**

Assembly: **PPJ.Web.XSal.49** (4.9.0.0)

* [Control](https://docs.wisej.com/api?q=wisej.web.control)
  * [ScrollableControl](https://docs.wisej.com/api?q=wisej.web.scrollablecontrol)
    * [Panel](https://docs.wisej.com/api?q=wisej.web.panel)
      * [XSalToolbar](https://docs.wisej.com/extensions/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar.md)

XSal Toolbar panel. One instance of this class is created for each of the four dockable sides of the form: top, left, right, bottom.

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

```csharp
public class XSalToolbar : Panel
```

{% endtab %}

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

```visual-basic
Public Class XSalToolbar
    Inherits Panel
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://620403885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrwxBtXkZ9hhQWYdbGhAV%2Fuploads%2FCKg4odMPj9bBKavXG5j4%2Finstance.png?alt=media\&token=2ac4a01b-785e-4197-b802-d5aae2250f90)XSalToolbar(name, side)

Creates a new toolbar panel.

| Name     | Type                                                                                          | Description |
| -------- | --------------------------------------------------------------------------------------------- | ----------- |
| **name** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)                           |             |
| **side** | [Side](https://web-api.iceteagroup.com/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar) |             |

## Properties

### ![](https://620403885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrwxBtXkZ9hhQWYdbGhAV%2Fuploads%2FCKg4odMPj9bBKavXG5j4%2Finstance.png?alt=media\&token=2ac4a01b-785e-4197-b802-d5aae2250f90)ToolbarSide

[Side](https://web-api.iceteagroup.com/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar): Returns the side of this toolbar.

### ![](https://620403885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrwxBtXkZ9hhQWYdbGhAV%2Fuploads%2FuqnVoSwYo95wh3jzDFPE%2Fstatic.png?alt=media\&token=ac9ad63b-db19-46a9-a325-36647205a41a)UseVisualStyleBackColor

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Returns/Sets the flag that determines if the background of the toolbar is drawn using visual styles, if supported.

## Methods

### ![](https://620403885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrwxBtXkZ9hhQWYdbGhAV%2Fuploads%2FuqnVoSwYo95wh3jzDFPE%2Fstatic.png?alt=media\&token=ac9ad63b-db19-46a9-a325-36647205a41a)GetToolbars(form)

Returns the 4 toolbars (top, left, right, bottom) created for the specified form.

| Parameter | Type                                                | Description |
| --------- | --------------------------------------------------- | ----------- |
| **form**  | [Form](https://docs.wisej.com/api?q=wisej.web.form) |             |

**Returns:** [XSalToolbar\[\]](https://docs.wisej.com/extensions/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar.md).

### ![](https://620403885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrwxBtXkZ9hhQWYdbGhAV%2Fuploads%2FuqnVoSwYo95wh3jzDFPE%2Fstatic.png?alt=media\&token=ac9ad63b-db19-46a9-a325-36647205a41a)GetToolboxes(form)

Returns all the toolboxes for the specified form.

| Parameter | Type                                                | Description |
| --------- | --------------------------------------------------- | ----------- |
| **form**  | [Form](https://docs.wisej.com/api?q=wisej.web.form) |             |

**Returns:** [XSalToolbox\[\]](https://docs.wisej.com/extensions/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbox.md).
