Back to Devexpress

ShowNavigationItemController Class

expressappframework-devexpress-dot-expressapp-dot-systemmodule-675ae74b.md

latest8.0 KB
Original Source

ShowNavigationItemController Class

A WindowController descendant that contains the ShowNavigationItem Action.

Namespace : DevExpress.ExpressApp.SystemModule

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class ShowNavigationItemController :
    WindowController,
    IModelExtender,
    IShowViewParametersCustomizer
vb
Public Class ShowNavigationItemController
    Inherits WindowController
    Implements IModelExtender,
               IShowViewParametersCustomizer

Remarks

The ShowNavigationItemController is a part of the Navigation System. This Controller displays the ShowNavigationItem Action.

ASP.NET Core Blazor Windows Forms

For details on the ShowNavigationItem Action, refer to the following topic: ShowNavigationItemController.ShowNavigationItemAction.

To customize the default behavior of the ShowNavigationItem Action, you can inherit from this Controller or subscribe to its events. In addition, you can access the Action to modify its behavior.

If you need to inherit from the ShowNavigationItemController, the following protected virtual methods are available for overriding:

|

Method

|

When is it called?

|

Description

| | --- | --- | --- | |

HasRights

|

Invoked as a result of calling the InitializeItems method when populating the Navigation ‘s Items collection.

|

Determines whether the application’s Security System grants permission to read the object(s) of the passed item’s View. If a Views | View node describing the item’s View cannot be found, this method returns true. The items for which this method returns false, are disabled by the ShowNavigationItemController.SynchronizeItemsWithSecurity method.

| |

InitializeItems

|

Called after the ShowNavigationItemController is activated.

|

| |

OnItemsInitialized

|

Called after the ShowNavigationItem Action’s Items collection is populated via the InitializeItems method.

|

Raises the ShowNavigationItemController.ItemsInitialized event.

| |

ShowNavigationItem

|

Called by the ShowNavigationItem Action’s SingleChoiceAction.Execute event handler.

|

|

Public members are described individually in the documentation.

To ascertain whether the Controller is active, use the Controller.Active property (see How to: Detect a Lookup List View in Code). If you need to know the reason for its deactivation or activation at runtime, use the DiagnosticInfo Action.

Information on the ShowNavigationItemController and its ShowNavigationItem Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.

Implements

ISupportUpdate

IModelExtender

Inheritance

Object MarshalByRefObject Component Controller WindowController ShowNavigationItemController

See Also

ShowNavigationItemController Members

Create a New Object using the Navigation Control

Navigation System

How to show the number of List View items in the Navigation Control

DevExpress.ExpressApp.SystemModule Namespace