Back to Devexpress

CustomDrawEventArgs Class

windowsforms-devexpress-dot-xtraverticalgrid-dot-events-4513782b.md

latest3.1 KB
Original Source

CustomDrawEventArgs Class

Serves as a base for classes providing data for all events used to custom paint the elements of the VGridControlBase descendants.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public class CustomDrawEventArgs :
    EventArgs,
    IDxHtmlFieldValueProvider
vb
Public Class CustomDrawEventArgs
    Inherits EventArgs
    Implements IDxHtmlFieldValueProvider

Remarks

The VGridControlBase descendants gives you the ability to custom paint their elements. This is performed by handling specially designed events. The CustomDrawEventArgs class provides common information required to custom paint an element. This information includes the element’s bounding rectangle, style and the object providing painting facilities. Additionally, the class introduces the CustomDrawEventArgs.Handled property that specifies whether default painting is required after event handler execution. Refer to the Custom Painting Overview topic for information.

Settings provided by the CustomDrawEventArgs class are common to all custom painting event parameters that provide data for painting various grid elements.

Inheritance

Object EventArgs CustomDrawEventArgs CustomDrawRowEventArgs

CustomDrawRowHeaderCellEventArgs

CustomDrawRowHeaderIndentEventArgs

CustomDrawRowValueCellEventArgs

CustomDrawSeparatorEventArgs

CustomDrawTreeButtonEventArgs

See Also

CustomDrawEventArgs Members

Custom Painting

DevExpress.XtraVerticalGrid.Events Namespace