Provides basic data required to perform custom painting of an element.
public class CustomDrawEventArgs : EventArgs
Public Class CustomDrawEventArgs Inherits EventArgs
The TreeList control gives you the ability to perform custom painting of its elements. This is performed by handling specially designed events. Such events require information about the painted element to be transmitted to them. Moreover, each of these events require a value that can be modified to specify whether default painting of an element is prohibited. The CustomDrawEventArgs class introduces properties which allow you to obtain basic data needed to paint an element. It also provides a CustomDrawEventArgs.Handled property whose value is used to specify whether default painting must be overridden.
There are various kinds of data needed to paint various elements. Thus parameters transmitted to mentioned events differ in type. The CustomDrawEventArgs class serves as the base for all objects used for these event parameters.
Objects of type CustomDrawEventArgs are transmitted to the TreeList.CustomDrawFooter event as a parameter.