Table of Contents

Method SetSplitterPosition

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetSplitterPosition(int, int)

Sets x coordinate of the splitter.

void SetSplitterPosition(int newXPos, int col = 0)

Parameters

newXPos int

Splitter position.

col int

Column index.

Remarks

Splitter position cannot exceed grid size, and therefore setting it during form creation may fail as initial grid size is often smaller than desired splitter position, especially when advanced sizers are being used.