Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawTreeButtonEventArgs Class

Provides data for the VGridControlBase.CustomDrawTreeButton event.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public class CustomDrawTreeButtonEventArgs :
    CustomDrawRowEventArgs

#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

See Also