Back to Devexpress

CustomDrawTreeButtonEventArgs Class

windowsforms-devexpress-dot-xtraverticalgrid-dot-events-6b4d042e.md

latest2.4 KB
Original Source

CustomDrawTreeButtonEventArgs Class

Provides data for the VGridControlBase.CustomDrawTreeButton event.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public class CustomDrawTreeButtonEventArgs :
    CustomDrawRowEventArgs
vb
Public Class CustomDrawTreeButtonEventArgs
    Inherits CustomDrawRowEventArgs

CustomDrawTreeButtonEventArgs is the data class for the following events:

Remarks

The VGridControlBase.CustomDrawTreeButton event allows you to custom paint buttons used to expand/collapse parent rows. The CustomDrawTreeButtonEventArgs class introduces properties which allow you to obtain the painted button’s type, and the state of its corresponding row. Additionally, the CustomDrawTreeButtonEventArgs class provides data common to all custom painting events.

See Custom Painting Samples for a custom painting example.

Inheritance

Object EventArgs CustomDrawEventArgs CustomDrawRowEventArgs CustomDrawTreeButtonEventArgs

See Also

CustomDrawTreeButtonEventArgs Members

DevExpress.XtraVerticalGrid.Events Namespace