共用方式為


SPChromeSettings.OverflowAuto property

可讓 Web 組件來設定當呈現網頁組件內文時,覆寫階層式樣式表 (CSS) 溢位屬性的預設設定值。

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

Syntax

'宣告
Public Property OverflowAuto As Boolean
    Get
    Set
'用途
Dim instance As SPChromeSettings
Dim value As Boolean

value = instance.OverflowAuto

instance.OverflowAuto = value
public bool OverflowAuto { get; set; }

Property value

Type: System.Boolean

備註

ASP.NET 2.0 Web 組件的預設值是true。

請參閱

參照

SPChromeSettings class

SPChromeSettings members

Microsoft.SharePoint.WebPartPages namespace