DisposableObject
Represents a basic object which implements IDisposable interface.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
[CLSCompliant(true)]
public class DisposableObject : IDisposable
Inheritance: objectDisposableObject
Derived Classes:
Implements:
Constructors
public DisposableObject()
Properties
Gets the RadBitVector64 structure that holds all the bit states of the object.
[CLSCompliant(false)]
protected RadBitVector64 BitState { get; }
Provides a simple list of delegates.
protected EventHandlerList Events { get; }
Determines whether the object is already disposed.
[Browsable(false)]
public bool IsDisposed { get; }
Determines whether the object is in a process of being disposed of.
[Browsable(false)]
public bool IsDisposing { get; }
Methods
Releases all resources associated with this object.
public void Dispose()
Implements:
Performs the actual Dispose logic.
Disposes all MANAGED resources - such as Bitmaps, GDI+ objects, etc.
protected virtual void DisposeManagedResources()
Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.
protected virtual void DisposeUnmanagedResources()
Performs the core resources release logic.
Events
[Browsable(false)]
public event EventHandler Disposed
[Browsable(false)]
public event EventHandler Disposing