Raised before generating the Items collection of the ShowNavigationItemController's ShowNavigationItem Action.
The CustomInitializeItems event handler receives an argument of the HandledEventArgs type. The following properties provide information specific to this event.
|Handled||Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.|
This event is raised as a result of calling the InitializeItems method when the ShowNavigationItemController is activated. If you need to populate the ShowNavigationItem Action's Items collection in a custom manner, handle this event. Set the handler's Handled parameter, to avoid populating the collection in the default manner. If you leave the Handled parameter set to false, the collection will be populated using information from the Application Model's IModelRootNavigationItems node.
To access the ShowNavigationItem Action's Items collection after it has been populated, handle the ShowNavigationItemController.ItemsInitialized event.