sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
        {
            e.Appearance.TextOptions.HAlignment=DevExpress.Utils.HorzAlignment.Far;
            
if (e.Info.IsRowIndicator)
            {
                
if (e.RowHandle>=0)
                {
                    e.Info.DisplayText
=e.RowHandle.ToString();
                }
                
else if (e.RowHandle<0 && e.RowHandle>-1000)
                {
                    e.Info.Appearance.BackColor
=System.Drawing.Color.AntiqueWhite;
                    e.Info.DisplayText
="G"+e.RowHandle.ToString();
                }
            }

相关文章: