Skip to main content

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.v24.1.dll

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

Declaration

public class CustomDrawEventArgs :
    EventArgs,
    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.

See Also