WebActionContainerViewItem.BreakLinksToControl(Boolean) Method

Unsubscribes from the control's events and, depending on the parameter, also disposes of the control and removes the link to the control.

Namespace: DevExpress.ExpressApp.Web.Editors

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

public override void BreakLinksToControl(
    bool unwireEventsOnly
)
Public Overrides Sub BreakLinksToControl(
    unwireEventsOnly As Boolean
)

Parameters

Type Name Description
Boolean unwireEventsOnly

true to only unsubscribe from events, false to also dispose of the control and remove the link to the control.

This method supports the internal infrastructure. You do not need to call this method manually in most cases.

You can override this method in WebActionContainerViewItem descendants to dispose of custom recourses.

See Also