Back to Devexpress

RepositoryItemButtonEdit.CustomDrawButton Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitembuttonedit-eefe2959.md

latest1.6 KB
Original Source

RepositoryItemButtonEdit.CustomDrawButton Event

Allows you to apply custom painting to specific RepositoryItemButtonEdit‘s buttons.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event CustomDrawButtonEventHandler CustomDrawButton
vb
<DXCategory("Events")>
Public Event CustomDrawButton As CustomDrawButtonEventHandler

Event Data

The CustomDrawButton event's data class is DevExpress.XtraEditors.Controls.CustomDrawButtonEventArgs.

Remarks

Important

Do not modify the control’s layout, or change the control’s object model in events used for custom control painting. Actions that update the layout can cause the control to malfunction.

See Also

RepositoryItemButtonEdit Class

RepositoryItemButtonEdit Members

DevExpress.XtraEditors.Repository Namespace