Back to Devexpress

CustomDrawNodeButtonEventArgs Class

windowsforms-devexpress-dot-xtratreelist-fe9d2243.md

latest2.7 KB
Original Source

CustomDrawNodeButtonEventArgs Class

Provides data for the TreeList.CustomDrawNodeButton event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public class CustomDrawNodeButtonEventArgs :
    CustomDrawNodeEventArgs<OpenCloseButtonInfoArgs>
vb
Public Class CustomDrawNodeButtonEventArgs
    Inherits CustomDrawNodeEventArgs(Of OpenCloseButtonInfoArgs)

CustomDrawNodeButtonEventArgs is the data class for the following events:

Remarks

The TreeList.CustomDrawNodeButton event gives you the ability to perform custom painting of buttons used to expand/collapse parent nodes. The basic information required to paint an element is supplied by the CustomDrawNodeButtonEventArgs class via its properties inherited from the CustomDrawEventArgs class. Introduces properties which provide node button specific information which includes the node corresponding to the painted button, its expand state, etc.

CustomDrawNodeButtonEventArgs objects are automatically created and passed to TreeList.CustomDrawNodeButton event handlers.

Inheritance

Object EventArgs CustomDrawEventArgs DevExpress.XtraTreeList.CustomDrawObjectEventArgs<DevExpress.Utils.Drawing.OpenCloseButtonInfoArgs> DevExpress.XtraTreeList.CustomDrawNodeEventArgs<DevExpress.Utils.Drawing.OpenCloseButtonInfoArgs> CustomDrawNodeButtonEventArgs

See Also

CustomDrawNodeButtonEventArgs Members

CustomDrawNodeButton

DevExpress.XtraTreeList Namespace