add_eraseBackground(function(sender, e)) eraseBackground.add(function(sender, e)) remove_eraseBackground(function(sender, e)) eraseBackground.remove(function(sender, e))
Users who are performing custom drawing using OwnerDraw can attach to this event and erase the control's background when this event is fired.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | ImageViewerRenderEventArgs | The event data. |