共用方式為


SilverlightWebPart.Height property

取得或設定 Silverlight 網頁組件的高度。

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

Syntax

'宣告
Public Overrides Property Height As Unit
    Get
    Set
'用途
Dim instance As SilverlightWebPart
Dim value As Unit

value = instance.Height

instance.Height = value
public override Unit Height { get; set; }

Property value

Type: System.Web.UI.WebControls.Unit
[網頁組件的高度。

備註

這個覆寫可確保高度不能設定為Empty

請參閱

參照

SilverlightWebPart class

SilverlightWebPart members

Microsoft.SharePoint.WebPartPages namespace