共用方式為


SilverlightWebPart.Height Property

Gets or sets the height of the Silverlight Web Part.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Property Height As Unit
    Get
    Set
'Usage
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
The height of the Web Part.

Remarks

This override ensures that the height cannot be set to Empty.

See Also

Reference

SilverlightWebPart Class

SilverlightWebPart Members

Microsoft.SharePoint.WebPartPages Namespace