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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.