| 123456789101112131415161718 |
- using DevExpress.XtraGrid.Views.Grid;
- namespace UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum
- {
- public partial class GridViewWithSerialNum : GridView
- {
- public GridViewWithSerialNum()
- {
- InitializeComponent();
- IndicatorWidth = 30;
- }
- private void GridViewWithSerialNum_CustomDrawRowIndicator(object sender, RowIndicatorCustomDrawEventArgs e)
- {
- e.Info.DisplayText = e.RowHandle.ToString();
- }
- }
- }
|