windowsforms-devexpress-dot-xtratreelist-7f9384c4.md
Provides basic data required to perform custom painting of an element.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public class CustomDrawEventArgs :
EventArgs,
IDxHtmlFieldValueProvider
Public Class CustomDrawEventArgs
Inherits EventArgs
Implements IDxHtmlFieldValueProvider
CustomDrawEventArgs is the data class for the following events:
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.
Show 14 items
Object EventArgs CustomDrawEventArgs CustomDrawRowFooterEventArgs
CustomDrawColumnHeaderEventArgs
CustomDrawNodeIndicatorEventArgs
CustomDrawNodePreviewEventArgs
CustomDrawRowFooterCellEventArgs
See Also