Description
The Visible
field of the OverflowMode
enumeration specifies that any content that overflows the bounds of a UI panel should remain visible. This is one of the possible values for the CSS overflow
property, which determines how content that exceeds the dimensions of a container is handled.
Usage
Use OverflowMode.Visible
when you want to ensure that all content within a UI element is displayed, even if it extends beyond the element's defined boundaries. This can be useful for debugging or when the design requires all content to be shown without clipping.
Example
// Example of setting the overflow mode to Visible for a UI panel
var panel = new Panel();
panel.Style.Overflow = OverflowMode.Visible;