Provides access to the LinkUnlinkController's Unlink Action.
A SimpleAction object representing the Unlink Action.
The Unlink Action is intended to remove required objects from a collection property displayed by a nested List View:
In a Windows Forms application:
In an ASP.NET application:
This Action's Execute event is handled by the LinkUnlinkController's Unlink protected method. If you need to modify the way this Action is executed, inherit from this Controller and override the Unlink method. Alternatively, handle the Action's Execute event in a custom Controller.
When implementing a custom Controller to modify the behavior of the LinkUnlinkController or its Unlink Action, you may have to determine whether the current List View displays a collection property in a Detail View. To accomplish this, use one of the following criteria:
Use the List View's ID:
Use the List View's CollectionSource type:
By default, the Unlink Action is active under the following conditions:
The Unlink Action is enabled when changes have been made to the current object. However, it can be disabled, because the current user does not have permission to change the current object.
To ascertain why the Unlink Action is currently deactivated or disabled, use the DiagnosticInfo Action. If you need to change the Action's "active" or "enabled" state in code, use its ActionBase.Active or ActionBase.Enabled property, respectively.