Custom Navigation Properties

Custom Navigation Properties

Custom Navigation Properties

Overview

 

Custom navigation properties (often referred to as "Custom Properties" is an implementation of the AdvantageAttribute control (used in Dialogs for AdvantageModules).  

Once the control is created, a reference custom properties control location can be added in the "Domain Management" screen.  

Once registered, it will enable a "Custom Properties" tab in the "Page Properties" of the page manager.

Usage

Sitesettings can be accessed:

  • NavigationObject

 

Example

Example

var navList = this.GetNavigations(eNavigationSelector.All);
foreach (Navigation nav  in navList)
{
    if (nav.CustomProperties != null && nav.CustomProperties.ContainsKey("Secure"))
        Console.Write($@"{nav.Name} - Secure Page" );
}

 

Back to Top Button