Shape.Disposing Property
Gets a value indicating whether the base Shape class is disposing.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Disposing As Boolean
Get
[BrowsableAttribute(false)]
public bool Disposing { get; }
[BrowsableAttribute(false)]
public:
property bool Disposing {
bool get ();
}
[<BrowsableAttribute(false)>]
member Disposing : bool
function get Disposing () : boolean
Property Value
Type: System.Boolean
true if the base Shape class is disposing; otherwise, false.
Remarks
When this property returns true, the base Shape class is disposing. After the control is disposed of, it can no longer be referenced as a valid control. Even though the instance of a control is disposed of, it is still maintained in memory until it is removed from memory through garbage collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)