Skip to main content
.NET 6.0+

ActionContainerViewItem Class

An abstract class that serves as the base class for the Action Container View Items.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public abstract class ActionContainerViewItem :
    ViewItem,
    IActionContainer,
    ISupportUpdate,
    IDisposable,
    IAppearanceVisibility,
    IAppearanceBase,
    INotifyAppearanceVisibilityChanged

Remarks

An Action Container View Item is used to display a particular Action Container in a UI. The ActionContainerViewItem class is an abstract class from which all the Action Container View Items derive. The following table lists XAF‘s built-in Action Container View Items.

ActionContainerViewItem Descendant Description
WinActionContainerViewItem The Action Container View Item used in the XAF Windows Forms applications.
WebActionContainerViewItem The Action Container View Item used in the XAF ASP.NET Web Forms applications.
BlazorActionContainerViewItem The Action Container View Item used in the XAF ASP.NET Core Blazor applications.

The ActionContainerViewItem exposes the ActionContainerViewItem.BeginUpdate and ActionContainerViewItem.EndUpdate methods designed to implement batch modifications with Action Container View Items. This allows you to prevent excessive updates when changing multiple settings at once. For this purpose, enclose the code that changes multiple properties within calls to these methods.

To learn how to add an Action Container View Item to a Detail View, refer to the View Items and How to: Include an Action to a Detail View Layout topics.

See Also