Interface IQuickNavigatorItemProvider
Implement this interface in order to provide items to the quick navigator.
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface IQuickNavigatorItemProvider
Remarks
Implementations of this interface needs to be registered in the service locator in order to be found by the quick navigator.
Properties
SortOrder
Gets the sort priority of this provider.
Declaration
int SortOrder { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The lower the number, the higher the items from this provider will be placed in the quick navigator.
Methods
GetMenuItems(ContentReference)
Gets the menu items that should be added to the quick navigator.
Declaration
IDictionary<string, QuickNavigatorMenuItem> GetMenuItems(ContentReference currentContent)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | currentContent | The currently selected content. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, QuickNavigatorMenuItem> | A dictionary containing the menu items that should be added to the quick navigator. |