# 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

### ![](/files/qoQXnPICsjBVNBSqpOj9)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](/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar.md)   |             |

## Properties

### ![](/files/qoQXnPICsjBVNBSqpOj9)ToolbarSide

[Side](/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar.md): Returns the side of this toolbar.

### ![](/files/jDiecrwjcc5yZsrGcmX2)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

### ![](/files/jDiecrwjcc5yZsrGcmX2)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).

### ![](/files/jDiecrwjcc5yZsrGcmX2)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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://web-api.iceteagroup.com/ppj.web.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
