LinkUnlinkController Class
Represents a ViewController descendant, that contains the Link and Unlink Actions.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public class LinkUnlinkController :
ViewController,
IModelExtender
#Remarks
The LinkUnlinkController is intended for presenting the Link and Unlink Actions.
In a Windows Forms application:
In an ASP.NET Web Forms application:
For details on the Link and Unlink Actions, refer to the description of the LinkUnlinkController.LinkAction and LinkUnlinkController.UnlinkAction properties that provide access to these Actions.
To customize the default behavior of the Link and Unlink Actions, you can inherit from this Controller, or subscribe to its events. In addition, you can access the Actions to modify their behavior.
If you need to inherit from the LinkUnlinkController, the following protected virtual methods are available for overriding:
Method | When is it called? | Description |
---|---|---|
Create |
Invoked as a result of executing the Link Action. | Represents the Link Action’s Popup |
Customize |
Invoked as a result of executing the Link Action. | Represents the Link Action’s Popup |
Link | Invoked as a result of executing the Link Action. | Represents the Link Action’s Popup |
Unlink | Invoked as a result of executing the Unlink Action. | Represents the Unlink Action’s Simple |
Update |
Called when the Link |
Updates the Link and Unlink Actions’ active state (see Action |
Public members are described individually in the documentation.
Note
This Controller has the Web
This Controller is activated for the nested List Views that are displayed via the ListPropertyEditor. To ascertain whether the Controller is active, use the Controller.Active property. If you need to know the reason for its deactivation or activation at runtime, use the DiagnosticInfo Action.
Information on the LinkUnlinkController and its Link and Unlink Actions is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.