简体   繁体   中英

How can I add a button in the center of a RepositoryItem in a column of a devexpress datagrid?

I want to add a button with an image in the middle of a cell in a column of a devexpress datagrid.

The click event should be triggered only when pressing the button and not the entire cell.

How can I add a button only in the center of an editor?

Have you tried using a RepositoryItemButtonEdit? Assign it to the necessary GridColumn.ColumnEdit property.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM