Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether menu items without icons should have compact spacing. Useful for menus with dynamic content
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property CompactMode As Boolean
Get
Set
'Usage
Dim instance As MenuTemplate
Dim value As Boolean
value = instance.CompactMode
instance.CompactMode = value
public bool CompactMode { get; set; }
Property value
Type: System.Boolean
Returns Boolean.