Share via


ToolPane.Width Property

Gets or sets the minimum width of the tool pane.

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

Syntax

'Declaration
Public Overrides Property Width As Unit
    Get
    Set
'Usage
Dim instance As ToolPane
Dim value As Unit

value = instance.Width

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

Property Value

Type: System.Web.UI.WebControls.Unit
A System.Web.UI.WebControls.Unit that defines the minimum width of the tool pane.

Remarks

When the contents of the tool pane cause the pane to be resized, the Width property still returns the minimum width, not the actual width. The default value of the Width property is 225 pixels in English locales; however, the minimum width of the tool pane is different for other languages.

See Also

Reference

ToolPane Class

ToolPane Members

Microsoft.SharePoint.WebPartPages Namespace