windowsforms-devexpress-dot-xtragantt-dot-customdraweventargs-54b2a80c.md
Gets or sets whether the event is handled and allows you to prevent the control from drawing the visual element in its default appearance.
Namespace : DevExpress.XtraGantt
Assembly : DevExpress.XtraGantt.v25.2.dll
NuGet Package : DevExpress.Win.Gantt
public bool Handled { get; set; }
Public Property Handled As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the event is handled; otherwise, false.
|
The following event arguments allow you to draw the visual element in its default appearance or suppress the default drawing:
The DefaultDraw() method—draws the visual element in its default appearance. You can call this method to first draw the visual element and then draw anything over it.
The Handled property—gets or sets whether you handled the event. If the event is handled, the control does not draw the visual element in its default appearance. If you call the DefaultDraw() method, the Handled property is automatically set to true.
See Also