Posted 17 May 2021, 12:17 pm EST
Hello.
.NET5 WPF FlexGrid has no SelectedItem Property now. Will be supported the SelectedItem in future?
C1.WPF.Grid.Ja 5.0.20211.61
Forums Home / ComponentOne / WPF Edition
Posted by: info on 17 May 2021, 12:17 pm EST
Posted 17 May 2021, 12:17 pm EST
Hello.
.NET5 WPF FlexGrid has no SelectedItem Property now. Will be supported the SelectedItem in future?
C1.WPF.Grid.Ja 5.0.20211.61
Posted 17 May 2021, 8:14 pm EST
Hi Mikihiro,
FlexGrid .NET4.5.2 and FlexGrid .NET5 have different API’s and hence there is no SelectedItem property present. However, this seems to be a valid requirement so I am discussing it with the devs and will let you know once there is any update. (Internal Tracking Id- C1XAML-27517)
However, as a workaround you can manually implement the SelectedItem property. Please refer to the same from the attached sample. (see FlexGridSample.zip)
Best Regards, Kartik
Posted 18 May 2021, 11:41 am EST
Thank you. I will wait the update.
Posted 28 June 2021, 3:32 pm EST
Hi Mikihiro,
Could you please share if you also need the SelectedItems property along with the SelectedItem property?
And also do you want these properties as a dependency property or a normal property?
Regards, Kartik
Posted 6 August 2021, 10:54 am EST
Hello. I need a dependency for the SelectedItem.
I may use the SelectedItems in the future, if the FlexGrid has this property. But not yet. When I use the SelectedItems , a dependency propperty may be necessary.
Thank you.
Posted 8 August 2021, 3:21 pm EST
Hi Mikihiro,
Thank you for letting us know. We have forwarded it to the devs.
Best Regards, Kartik
Posted 5 September 2021, 5:45 pm EST
Thank you very much for the help. It means alot.
Posted 23 April 2023, 10:50 pm EST
Hi,
As per the development team, SelectedItem will be a dependency property.
On the other hand, we were analyzing the WPF 4.6.2 FlexGrid and despite there is a SelectedItems dependency property it doesn’t work as it should and ends up being worse than having a normal property. Could you please provide more details to have a scenario needing SelectedItems?
Best Regards,
Nitin