robot_2Generated
code_blocksInput

Description

The Editor.ScrollbarMode.On field is a member of the Editor.ScrollbarMode enumeration. It specifies that the scrollbar should always be visible, regardless of the content size or other conditions. This mode is useful when you want to ensure that users can always see and interact with the scrollbar, providing a consistent user interface experience.

Usage

To use the Editor.ScrollbarMode.On field, you can assign it to a property or method that accepts a ScrollbarMode value. This will configure the UI component to always display the scrollbar.

Example

// Example of using Editor.ScrollbarMode.On

// Assume we have a UI component that supports scrollbar modes
UIComponent myComponent = new UIComponent();

// Set the scrollbar mode to always show the scrollbar
myComponent.ScrollbarMode = Editor.ScrollbarMode.On;

// Now, the scrollbar will always be visible on myComponent