book_4_sparkGenerated
code_blocksInput

Description

The Editor.ScrollbarMode.Off field is a member of the Editor.ScrollbarMode enumeration. It specifies that the scrollbar should never be displayed, regardless of the content size or any other conditions.

Usage

Use Editor.ScrollbarMode.Off when you want to ensure that the scrollbar is not visible in your editor interface. This can be useful in scenarios where the content is fully visible or when you want to maintain a clean interface without scrollbars.

Example

// Example of setting the scrollbar mode to Off
Editor.ScrollbarMode scrollbarMode = Editor.ScrollbarMode.Off;

// Use the scrollbarMode variable in your editor setup
// For instance, when configuring a UI component that supports scrollbar modes
UIComponent component = new UIComponent();
component.ScrollbarMode = scrollbarMode;