The Splitter
property represents the splitter control within a SplitContainer
. This control is used to separate two panels, allowing the user to adjust their sizes by dragging the splitter.
The Splitter
property represents the splitter control within a SplitContainer
. This control is used to separate two panels, allowing the user to adjust their sizes by dragging the splitter.
To use the Splitter
property, you typically access it from an instance of SplitContainer
. The Splitter
is a Panel
that can be styled and manipulated like any other UI panel in the Sandbox UI framework.
// Example of accessing the Splitter property var splitContainer = new SplitContainer(); var splitterPanel = splitContainer.Splitter; // You can apply styles or add event handlers to the splitter splitterPanel.Style.Set("background-color", "gray"); splitterPanel.AddEventListener("mousedown", e => { // Handle mouse down event });