ViewHeader.AutoFitWidthToContents property

When true, sets the width of templates such that they fit to contents. Otherwise, width is split evenly between templates as defined in the ViewHeader.ascx

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

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