The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ShowNavigationItemController.CustomInitializeItems Event

Raised before generating the Items collection of the ShowNavigationItemController's ShowNavigationItem Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event EventHandler<HandledEventArgs> CustomInitializeItems
Public Event CustomInitializeItems As EventHandler(Of HandledEventArgs)
public event EventHandler<HandledEventArgs> CustomInitializeItems
Public Event CustomInitializeItems As EventHandler(Of HandledEventArgs)
public event EventHandler<HandledEventArgs> CustomInitializeItems
Public Event CustomInitializeItems As EventHandler(Of HandledEventArgs)

Event Data

The CustomInitializeItems event handler receives an argument of the HandledEventArgs type. 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.

See Also