Share via


ViewHeader.AutoFitWidthToContents Property

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

Syntax

'Declaration
Public Property AutoFitWidthToContents As Boolean
    Get
    Set
'Usage
Dim instance As ViewHeader
Dim value As Boolean

value = instance.AutoFitWidthToContents

instance.AutoFitWidthToContents = value
public bool AutoFitWidthToContents { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

ViewHeader Class

ViewHeader Members

Microsoft.SharePoint.WebControls Namespace