CustomDrawObjectEventArgs.Handled Property
Gets or sets a value specifying whether the control must perform default painting after an event handler has been executed.
Namespace: DevExpress.XtraNavBar.ViewInfo
Assembly: DevExpress.XtraNavBar.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the control doesn’t perform default object painting after an event handler has been executed; otherwise false. |
Remarks
Events, for which the CustomDrawObjectEventArgs class provides data, fire before a corresponding object is painted. If an event handler sets the Handled property to true, default object painting is not performed. Otherwise the control will paint the object using its default after the handler has been executed.
This property can be used, for instance, to apply custom drawing only to those objects, which satisfy some specific conditions.