We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to dispose an instance of the SfTextBoxExt control by using the Dispose method?

The memory of a control can be managed by using the GarbageCollector that releases the memory stored in the Heap. Sometimes the unmanaged resources like stream reader, stream writer, DataBase connectivity, etc. when used causes further leaks in the memory of a control. To free these unmanaged resources, you can use the Dispose method.

Dispose Method:

The dispose method is available in the IDisposable interface and it is used for the controls that implement the IDisposable interface and its signature is as follows:


  1. The following is an example of using the Dispose method for the SfTextBoxExt control to release the unmanaged resources.


  1. The following code example shows how to create a SfTextBoxExt in a new Window.


  1. The following code explains using the Dispose Method for the SfTextBoxExt control:



Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
4018 02/13/2015 02/13/2015 WPF SfTextBoxExt 4.5.1
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon