Table of Contents
Preview #
![](https://graffitisuite.com/wp-content/uploads/2024/02/desktop_splitview-1024x686.png)
About #
GraffitiSplitView is a simple and powerful way to display multiple panes of data or functionality in your UI while giving users the freedom to size the areas as they need to.
Enumerations #
Name | Values |
---|---|
StackDirections | Horizontal Vertical |
Constants #
This class exposes no constants.
Events #
Name | Parameters | Return Type | Description |
---|---|---|---|
DrawSplitter | bounds as Rect | Boolean | Allows for repositioning the splitter handle by modifying the bounds parameter’s property values. |
PositionChanged | None | None | Raised when the Position value has changed. |
Methods #
This class exposes no methods.
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
AllowDragResize | Boolean | True | Determines whether users can resize the split. |
AreaBefore | GraffitiSplitViewArea | Nil | The first panel in the component’s display. |
AreaAfter | GraffitiSplitViewArea | Nil | The last panel in the component’s display. |
BackgroundColor | ColorGroup | Nil | Color applied to the background of the component. |
BorderColor | ColorGroup | Nil | Color applied to the border of the component. |
CustomColors | Boolean | False | Determines whether the control will use default color values or those supplied in properties. |
HandleBackgroundColor | ColorGroup | Nil | Color applied to the drag handle area’s background. |
HandleBorderColor | ColorGroup | Nil | Color used to draw the border of the handle area. |
HandleColor | ColorGroup | Nil | Color used to draw the drag resize handle. |
HandleSize | Integer | 10 | Size of the drag handle. |
Position | Double | 50 | Position of the split in the view, in percent. |
SnapDistance | Integer | 0 | Controls the distance from the edge which the component will snap resizes. |
StackDirection | StackDirections | StackDirections.Horizontal | Placement of panels views within the component. |