CategoryNavigationWebPart.DisplayStyle Property

NOTE: This API is now obsolete.

Obsolete. Gets or sets the number of layers and whether the layout is horizontal or vertical.

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

Syntax

'Declaration
<ObsoleteAttribute("This control is obsolete.  Please use asp:Menu instead.")> _
Public Property DisplayStyle As CategoryNavigationWebPartRenderStyle
    Get
    Set
'Usage
Dim instance As CategoryNavigationWebPart
Dim value As CategoryNavigationWebPartRenderStyle

value = instance.DisplayStyle

instance.DisplayStyle = value
[ObsoleteAttribute("This control is obsolete.  Please use asp:Menu instead.")]
public CategoryNavigationWebPartRenderStyle DisplayStyle { get; set; }

Property Value

Type: Microsoft.SharePoint.Portal.WebControls.CategoryNavigationWebPartRenderStyle
Microsoft.SharePoint.Portal.WebControls.CategoryNavigationWebPartRenderStyle. The enumeration that indicates the display style.

See Also

Reference

CategoryNavigationWebPart Class

CategoryNavigationWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace