DashboardViewItem.BreakLinksToControl(Boolean) Method

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

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public override void BreakLinksToControl(
    bool unwireEventsOnly
)

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.