LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PaintCallbacks Property
See Also 



Gets the list of RasterPaintCallbacks objects containing the custom callbacks.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property PaintCallbacks As IList(Of RasterPaintCallbacks)
Visual Basic (Usage)Copy Code
Dim instance As RasterPaintProperties
Dim value As IList(Of RasterPaintCallbacks)
 
value = instance.PaintCallbacks
C# 
public IList<RasterPaintCallbacks> PaintCallbacks {get;}
C++/CLI 
public:
property IList<RasterPaintCallbacks^>^ PaintCallbacks {
   IList<RasterPaintCallbacks^>^ get();
}

Property Value

A list of RasterPaintCallbacks objects containing custom callbacks.

Example

For a C++ example, refer to RasterPaintCallbacks.

Remarks

You add or remove custom callbacks using the members of the .NET IList, ICollection and IEnumerable interfaces.

If your callbacks are using unmanaged memory, it is recommended you clear the PaintCallbacks list and dispose of your class when you no longer use the RasterPaintProperties object.

The PaintCallbacks list is always valid, even if the list is empty. So you do not need to check whether it is null.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also