Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseView.Paint Event

Occurs when the BaseView is redrawn.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event PaintEventHandler Paint

#Event Data

The Paint event's data class is PaintEventArgs. The following properties provide information specific to this event:

Property Description
ClipRectangle Gets the rectangle in which to paint.
Graphics Gets the graphics used to paint.

The event data class exposes the following methods:

Method Description
Dispose() Releases all resources used by the PaintEventArgs.
Dispose(Boolean) Releases the unmanaged resources used by the PaintEventArgs and optionally releases the managed resources.
Finalize() Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

#Remarks

The Paint event is raised when the BaseView is redrawn. The PaintEventArgs object is passed to the method that handles the Paint event.

See Also