DevExpress VerticalGridControl 特定单元格不可编辑

VerticalGridControl 与 GridControl不同在于行列交换显示位置
        private void vGridControl1_ShowingEditor(object sender, CancelEventArgs e)
        {
            if (vGridControl1.FocusedRecord == 1 && vGridControl1.FocusedRow.Index == 1)
                e.Cancel = true;
        }



你可能感兴趣的:(DevExpress VerticalGridControl 特定单元格不可编辑)