Hi there, I have an idea that i saw first in the WPF implementation, you can put some public static const variables in your object implementation so that you can call the appropriate property: public class MyObject { public static const string refTestPropertyName = "TestPropertyName"; private string _TestPropertyName; public string TestPropertyName { get{return _TestPropertyName;} set{_TestPropertyName=value;} } .... }
now in your code: MyObject myObject = new MyObject(); myGrid.AddColumn(new ColumnDefn(myObject.refTestPropertyName , "", false, true));
Hope that helped Nassos
"Success is the ability to go from one failure to another with no loss of enthusiasm." Winston Churchill "Quality means doing it right when no one is looking." Henry Ford