Back to Devexpress

BaseView.Paint Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-baseview-ded08de9.md

latest3.0 KB
Original Source

BaseView.Paint Event

Occurs when the BaseView is redrawn.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event PaintEventHandler Paint
vb
Public Event Paint As PaintEventHandler

Event Data

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

PropertyDescription
ClipRectangleGets the rectangle in which to paint.
GraphicsGets the graphics used to paint.

The event data class exposes the following methods:

MethodDescription
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

PaintEventArgs

BaseView Class

BaseView Members

DevExpress.XtraBars.Docking2010.Views Namespace