MenuTemplate.CompactMode property
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.