ShowNavigationItemController.CustomInitializeItems Event
Raised before generating the Items collection of the ShowNavigationItemController‘s ShowNavigationItem Action.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Event Data
The CustomInitializeItems event's data class is HandledEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
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. |
Remarks
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.