Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property PaintCallbacks As IList(Of RasterPaintCallbacks) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public IList<RasterPaintCallbacks> PaintCallbacks {get;} |
C++/CLI | |
---|---|
public: property IList<RasterPaintCallbacks>^ PaintCallbacks { IList<RasterPaintCallbacks>^ get(); } |
Return Value
A list of RasterPaintCallbacks objects containing custom callbacks.For a C++ example, refer to RasterPaintCallbacks.
You add or remove custom callbacks using the members of the .NET Generic IList, Generic ICollection and Generic IEnumerable interfaces.
If your callbacks are using unmanaged memory, it is recommended you clear the PaintCallbacks list and dispose of your class when you dispose of the RasterImage object.
The PaintCallbacks list is always valid, even if the list is empty. So you do not need to check whether it is null or not.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family