LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)
LEAD Technologies, Inc

PaintCallbacks Property






Gets the list of RasterPaintCallbacks objects containing the custom callbacks.
Syntax
public IList<RasterPaintCallbacks> PaintCallbacks {get;}
'Declaration
 
Public ReadOnly Property PaintCallbacks As IList(Of RasterPaintCallbacks)
'Usage
 
Dim instance As RasterPaintProperties
Dim value As IList(Of RasterPaintCallbacks)
 
value = instance.PaintCallbacks
 get_PaintCallbacks(); 
public:
property IList<RasterPaintCallbacks^>^ PaintCallbacks {
   IList<RasterPaintCallbacks^>^ get();
}

Property Value

A list of RasterPaintCallbacks objects containing custom callbacks.
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.

Example
For a C++ example, refer to RasterPaintCallbacks.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterPaintProperties Structure
RasterPaintProperties Members
RasterPaintCallbacks Class
Implementing custom paint

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.