WebPartZone.ContainerWidth property
Gets or sets the hint for contained Web Parts of the expected width of the zone.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ContainerWidth As String
Get
Set
'Usage
Dim instance As WebPartZone
Dim value As String
value = instance.ContainerWidth
instance.ContainerWidth = value
public string ContainerWidth { get; set; }
Property value
Type: System.String
String Value indicating the width of the zone.
Remarks
The ContainerWidth property can take on any valid CSS width value. The property cannot be set when the Orientation is set to Horizontal.