using DevExpress.XtraTreeList; private void treeList1_ShownEditor(object sender, EventArgs e) { if (((TreeList)sender).FocusedNode[colname].ToString() == "aa") ((TreeList)sender).ActiveEditor.Properties.ReadOnly = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)