# XSalSplitter

Namespace: **PPJ.Runtime.XSal**

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

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

```csharp
public class XSalSplitter : SalCustomControl, IMessageFilter
```

{% endtab %}

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

```visual-basic
Public Class XSalSplitter
    Inherits SalCustomControl
    Implements IMessageFilter
```

{% endtab %}
{% endtabs %}

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)BarSize

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns/Sets the size of the splitter. (Default: `4`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)BorderStyle

[BorderStyle](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.borderstyle): Gets or sets the border style for the control. (Default: `Fixed3D`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)FirstControl

[Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control): Returns/Sets the control bound to the first split panel.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)HScroll

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Hidden property. Doesn't apply to XSalSplitter. (Default: `False`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)InvertDocking

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Inverts the docking of the panels for when the splitter is not proportional. By default the top/left panel is the fixed size panel. When InvertedDocking is true, the bottom/right panel become fixed. (Default: `False`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)MinExtra

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Sets or returns the minimum size of the second panel. That is the extra space at the right/bottom of the splitter. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)MinSize

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Sets or returns the minimum size of the first split panel. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Position

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns/Sets the position of the splitter.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Proportional

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Returns/Sets the proportional flag. When true, the splitter is automatically moved to keep the same proportions. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SecondControl

[Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control): Returns/Sets the control bound to the first split panel.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Text

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Sets or returns the Text of the splitter control. The text string contains two labels separated by ";", one for each split panel. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)VScroll

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Hidden property. Doesn't apply to XSalSplitter. (Default: `False`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsClassName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Hidden property. Doesn't apply to XSalSplitter. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsDLLName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Hidden property. Doesn't apply to XSalSplitter. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsExStyle

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Hidden property. Doesn't apply to XSalSplitter. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsStyle

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Hidden property. Doesn't apply to XSalSplitter. (Default: `0`)

## Methods

### ![](/files/69uzLyEV3ANF4GK6pznb)FromHandle(handle)

Returns the control associated with the handle.

| Parameter  | Type                                                                              | Description |
| ---------- | --------------------------------------------------------------------------------- | ----------- |
| **handle** | [SalWindowHandle](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |

**Returns:** [XSalSplitter](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetBarPosition()

Returns the position of the splitter.

**Returns:** [SalNumber](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetStyle()

**Returns:** [SplitterStyles](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetBarPosition(pos)

Sets the position of the splitter.

| Parameter | Type                                                                        | Description |
| --------- | --------------------------------------------------------------------------- | ----------- |
| **pos**   | [SalNumber](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |

**Returns:** [SalBoolean](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetBarSize(size)

Sets the size of the splitter.

| Parameter | Type                                                                        | Description |
| --------- | --------------------------------------------------------------------------- | ----------- |
| **size**  | [SalNumber](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |

**Returns:** [SalBoolean](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetMinMaxPosition(min, max)

Sets the minimum and maximum positions for the splitter.

| Parameter | Type                                                                        | Description |
| --------- | --------------------------------------------------------------------------- | ----------- |
| **min**   | [SalNumber](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |
| **max**   | [SalNumber](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |

**Returns:** [SalBoolean](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetStyle(style, on)

Sets the style of the splitter.

| Parameter | Type                                                                             | Description |
| --------- | -------------------------------------------------------------------------------- | ----------- |
| **style** | [SplitterStyles](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |
| **on**    | [SalBoolean](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md)     |             |

**Returns:** [SalBoolean](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md).

## Inherited By

| Name                                                                            | Description |
| ------------------------------------------------------------------------------- | ----------- |
| [XSalHSplitter](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |
| [XSalVSplitter](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.md) |             |

## Implements

| Name                                                                         | Description |
| ---------------------------------------------------------------------------- | ----------- |
| [ISalWindow](/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.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://desktop-api.iceteagroup.com/ppj.runtime.xsal.49/controls/ppj.runtime.xsal.xsalsplitter.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.
