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.For a C++ example, refer to RasterPaintCallbacks.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)