Represents the overflow-y
CSS property.
Represents the overflow-y
CSS property.
The OverflowY
property is used to control the vertical overflow behavior of an element's content. It can be set to various values defined in the OverflowMode
enumeration, such as Visible
, Hidden
, Scroll
, or Auto
. This property is nullable, meaning it can also be set to null
to indicate that no specific overflow behavior is defined.
// Example of setting the OverflowY property var styles = new BaseStyles(); styles.OverflowY = OverflowMode.Scroll; // Enables scrolling for vertical overflow // Resetting the OverflowY property to its default state styles.OverflowY = null;