How to get focused or selected value in DevExpress WPF TreeListControl?


i'm working with DevExpress TreeListControl:
void TreeListView_FocusedRowChanged(object sender  FocusedRowChangedEventArgs e) {
string val;
PropertyInfo properties = e.NewRow.GetType().GetProperties();
foreach (PropertyInfo item in properties) {
string x = item.Name;
if (x == "Id") {
var barProperty = item.GetType().GetProperty("Id");
if (barProperty != null) {
object obj = new Object0;
val = item.GetValue(sender obj) as string;
}
}
}
}

How can i get selected row value?



Get Source Code

  Views 249   Posted on : Thursday, March 21, 2013 10:41:37 AM
Related Tags:




Replies on "How to get focused or selected value in DevExpress WPF TreeListControl?" :

Nobody has replied on this post , be first to post answer.


Post Your Answer/Comment:

Please Login first to post Reply !


Note: Please Put Code into <code></code> block.




Also See: