WinPropertyEditor.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.Win.Editors
Assembly: DevExpress.ExpressApp.Win.v24.1.dll
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
NuGet Package: DevExpress.ExpressApp.Win
Declaration
Parameters
Name | Type | Description |
---|---|---|
unwireEventsOnly | Boolean | true to only unsubscribe from events, false to also dispose of the control and remove the link to the control. |
Remarks
This method supports the internal infrastructure. You do not need to call this method manually in most cases.
You can override this method in WinPropertyEditor descendants to dispose of custom recourses.