Hi
I used UltraWinGrid and play now a little bit with the DataPresenter.
Can someone tell me how this Code work with DataPresenter?
private void ButtonClick(object sender, CellEventArgs e)
{ object o = e.Cell.Row.ListObject; }
Hi,
I would like to assist you in solving your issue. For the purpose I need the following answers:
1. What are you trying to achieve by this code snippet ?2. What's your DataPresenter control ?
The code snippet you are asking for can not be used for DataPresenter control.
Infragistics.Windows.DataPresenter.Events Namespase, which is part of the Infragistics3.WPF.DataPresenter.v8.1 assembly,does not contain CellEventArgs class.I advise you to take a look at the online documentation related to this namespace at http://help.infragistics.com/Help/NetAdvantage/WPF/2008.1/CLR3.X/html/Infragistics3.Wpf.DataPresenter.v8.1~Infragistics.Windows.DataPresenter.Events_namespace.html
You also should take into account the fact that Cell class, which is part of the Infragistics.Windows.DataPresenter Namespace, does not contain Row property as its member.
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.1/CLR3.X/html/Infragistics3.Wpf.DataPresenter.v8.1~Infragistics.Windows.DataPresenter.Cell_members.html Best Regards,Yanko