# XSalToolbar

Namespace: **PPJ.Runtime.XSal**

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

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, ISalAccessory
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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://desktop-api.iceteagroup.com/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar) |             |

## Properties

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%2Fstatic.png?alt=media)Appearance

[ToolBarAppearance](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.toolbarappearance): Returns/Sets a value that determines the appearance of the toolbar.

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

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%2Fstatic.png?alt=media)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://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%2Fstatic.png?alt=media)GetToolbars(form)

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

| Parameter | Type                                                                          | Description |
| --------- | ----------------------------------------------------------------------------- | ----------- |
| **form**  | [Form](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form) |             |

**Returns:** [XSalToolbar\[\]](https://desktop-api.iceteagroup.com/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%2Fstatic.png?alt=media)GetToolboxes(form)

Returns all the toolboxes for the specified form.

| Parameter | Type                                                                          | Description |
| --------- | ----------------------------------------------------------------------------- | ----------- |
| **form**  | [Form](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form) |             |

**Returns:** [XSalToolbox\[\]](https://desktop-api.iceteagroup.com/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar).

## Implements

| Name                                                                                                           | Description |
| -------------------------------------------------------------------------------------------------------------- | ----------- |
| [ISalAccessory](https://desktop-api.iceteagroup.com/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsaltoolbar) |             |
