Back to Devexpress

ActionContainerViewItem Class

expressappframework-devexpress-dot-expressapp-dot-editors-de2cbd60.md

latest4.0 KB
Original Source

ActionContainerViewItem Class

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

Namespace : DevExpress.ExpressApp.Editors

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public abstract class ActionContainerViewItem :
    ViewItem,
    IActionContainer,
    ISupportUpdate,
    IDisposable,
    IAppearanceVisibility,
    IAppearanceBase,
    INotifyAppearanceVisibilityChanged
vb
Public MustInherit Class ActionContainerViewItem
    Inherits ViewItem
    Implements 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 DescendantDescription
BlazorActionContainerViewItemThe Action Container View Item used in the XAF ASP.NET Core Blazor applications.
WinActionContainerViewItemThe Action Container View Item used in the XAF Windows Forms applications.

The ActionContainerViewItem exposes the ActionContainerViewItem.BeginUpdate and ActionContainerViewItem.EndUpdate methods designed to implement batch modifications with Action Container View Items. Use them 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.

For information on adding an Action Container View Item to a Detail View, refer to the following topics:

Implements

IActionContainer

ISupportUpdate

IAppearanceVisibility

INotifyAppearanceVisibilityChanged

Inheritance

Object ViewItem ActionContainerViewItem BlazorActionContainerViewItem

WinActionContainerViewItem

See Also

ActionContainerViewItem Members

ViewItemAttribute

DevExpress.ExpressApp.Editors Namespace