API ReferenceSandbox.UI
ScrollBarclass
A scrollbar for one axis of a scrolling panel. Created by the panel while that axis overflows and its `scrollbar-width` is non-zero. Configured with `scrollbar-width`, `scrollbar-color` and `scrollbar-gutter` on the scrolling panel, like the web.
Methods2
Showing 2 methods
public virtual void OnLayout(Sandbox.Rect layoutRect)
| Parameter | Type | Description |
|---|---|---|
| layoutRect | Rect | — |
Returns:
void—public virtual void Tick()
Returns:
void—No results match this filter.
Properties2
Showing 2 properties
public bool Sandbox.UI.ScrollBar.IsVertical { get; set; }
Returns:
bool—public virtual bool Sandbox.UI.ScrollBar.WantsDrag { get; set; }
Returns:
bool—No results match this filter.