public IList<RasterPaintCallbacks> PaintCallbacks { get; }
A list of RasterPaintCallbacks objects containing custom callbacks.
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. Hence, there is no need to check whether PaintCallbacks is null.