【原】Infragistics.Win.UltraWinGrid.UltraGrid 增加行号

 private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {

            e.Layout.Override.RowSelectors = DefaultableBoolean.True;
            e.Layout.Override.RowSelectorNumberStyle = RowSelectorNumberStyle.VisibleIndex;
            e.Layout.Override.RowSelectorWidth = 30;

        }

posted @ 2015-11-06 18:49  哥本哈根  阅读(1555)  评论(0编辑  收藏  举报