DashboardViewItem.BreakLinksToControl(Boolean) Method

Disposes the current Dashboard View Item's control, or unsubscribes the events, dependent on the passed parameter value.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

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

Parameters

Type Name Description
Boolean unwireEventsOnly

true if only the events should be unsubscribed; false, if the control should be disposed.

Typically, you do not have to call this method manually. It is called automatically when required. If false is passed as a parameter, the current Dashboard View Item's control is disposed. Otherwise, it does nothing.

See Also