Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

StaticTextViewItem.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.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public override void BreakLinksToControl(
    bool unwireEventsOnly
)

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 StaticTextViewItem descendants to dispose of custom recourses.

See Also