Export (0) Print
Expand All
Expand Minimize

WebPart.OverflowAuto property

Gets a value indicating whether you can override the default setting for the cascading style sheet (CSS) overflow attribute when rendering the Web Part.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

protected virtual bool OverflowAuto { get; }

Property value

Type: System.Boolean
true to specify the default behavior; otherwise, false. The default is true.

The CSS overflow attribute setting determines how to manage when content exceeds the height and/or width of an HTML object. By default, the overflow attribute for the body of a Web Part is set to auto, which causes content to be clipped to the size of the Web Part frame, and scroll bars to be added when necessary. Setting the OverflowAuto property to false allows you to override the default behavior.

Show:
© 2014 Microsoft