Back to Devexpress

CustomDrawFooterCellEventArgs.CellInfo Property

windowsforms-devexpress-dot-xtratreelist-dot-customdrawfootercelleventargs-12f6a00a.md

latest2.1 KB
Original Source

CustomDrawFooterCellEventArgs.CellInfo Property

Gets an object containing information about the painted element.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public FooterCellInfoArgs CellInfo { get; }
vb
Public ReadOnly Property CellInfo As FooterCellInfoArgs

Property Value

TypeDescription
DevExpress.Utils.Drawing.FooterCellInfoArgs

A DevExpress.Utils.Drawing.FooterCellInfoArgs object providing information about the painted element.

|

Remarks

The CellInfo property can be used to:

  • obtain the painted element’s settings and custom paint based on these settings;
  • pass the CellInfo property value to the DrawObject method of the object returned by the CustomDrawEventArgs.Painter property. This will paint the element using the default mechanism. Thus, you can provide a default appearance for the painted elements and simply perform additional painting within them;
  • change the DevExpress.Utils.Drawing.FooterCellInfoArgs object’s properties. In this instance, you can leave the CustomDrawEventArgs.Handled property set to false thus forcing default painting, but with modified settings.

See Also

CustomDrawFooterCellEventArgs Class

CustomDrawFooterCellEventArgs Members

DevExpress.XtraTreeList Namespace