SilverlightWebPart.Height property

Gets or sets the height of the Silverlight Web Part.

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

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