Skip to main content
All docs
V24.1
.NET 6.0+

Ways to Hide or Disable an Action (Button, Menu Command)

  • 3 minutes to read

You can hide or disable an Action. If an Action (button) is disabled, it is grayed out. The table below shows different Action states.

Description

Image

The Clear tasks Action is active.

The Clear tasks Action is active.

The Clear tasks Action is disabled.

The Clear tasks Action is disabled.

The Clear tasks Action is hidden.

The Clear tasks Action is hidden.

XAF allows you to change the state of custom and built-in Actions. The following topic describes how to identify built-in Actions: Determine an Action’s Controller and Identifier.

Ways to Disable an Action

You can utilize the following techniques to disable an Action (button, menu item):

Ways to Hide an Action

You can utilize the following techniques to hide an Action (button, menu item):

See Also