[英]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. 我想在devexpress datagrid列的单元格中间添加带有图像的按钮。
The click event should be triggered only when pressing the button and not the entire cell. 仅在按下按钮而不是整个单元格时才触发click事件。
How can I add a button only in the center of an editor? 如何仅在编辑器的中央添加按钮?
Have you tried using a RepositoryItemButtonEdit? 您是否尝试过使用RepositoryItemButtonEdit? Assign it to the necessary GridColumn.ColumnEdit property.
将其分配给必要的GridColumn.ColumnEdit属性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.