Back to Devexpress

Controller.Tag Property

expressappframework-devexpress-dot-expressapp-dot-controller-300ff7f6.md

latest2.4 KB
Original Source

Controller.Tag Property

Provides access to the object that contains data about the Controller.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[Bindable(true)]
public object Tag { get; set; }
vb
<Bindable(True)>
Public Property Tag As Object

Property Value

TypeDescription
Object

An object that contains data about the Controller. The default value is null.

|

Remarks

This property is a container which can be used in your applications to store any data. Generally, use of this property is not recommended.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Tag property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-how-to-save-the-currently-opened-view-as-a-new-view-variant-at-runtime/CS/EF/ViewVariantSaveEF/ViewVariantSaveEF.Module/Controllers/UserViewVariantsController.cs#L116

csharp
dialogController.Accepting += dialogController_Accepting;
dialogController.Tag = mode;
var os = Application.CreateObjectSpace(typeof(ViewVariantParameterObject));

See Also

Controller Class

Controller Members

DevExpress.ExpressApp Namespace