Gets an object containing information about the painted element.
NuGet Package: DevExpress.Win.Grid
A DevExpress.Utils.Drawing.ObjectInfoArgs object providing information about the painted element.
The Info property can be used to:
- obtain the painted element’s settings and custom paint based on these settings;
- pass the Info property’s value to the DrawObject method of the object returned by the CustomDrawObjectEventArgs.Painter property. This will paint the element using the default mechanism. Thus, a default appearance can be provided for the painted elements and additional painting performed in them only when required. For example, a check sign could be painted within the focused column’s header;
- change the Info property’s settings. In this instance, the CustomDrawEventArgs.Handled property can be left set to false thus forcing default painting but with the modified settings.