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.
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.
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 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;