Share via


CategoryNavigationWebPart Class

NOTE: This API is now obsolete.

The CategoryNavigationWebPart class is the vertical and horizontal navigation bar.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.Portal.WebControls.CategoryNavigationWebPart

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.")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class CategoryNavigationWebPart _
    Inherits Control _
    Implements IDesignTimeHtmlProvider
'Usage
Dim instance As CategoryNavigationWebPart
[ObsoleteAttribute("This control is obsolete.  Please use asp:Menu instead.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class CategoryNavigationWebPart : Control, 
    IDesignTimeHtmlProvider

Remarks

Microsoft recommends that the user create Web Parts by using the BaseAreaWebPart class. Microsoft does not recommend subclassing this class

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CategoryNavigationWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace