Posted 17 May 2021, 9: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, 9:17 pm EST
Posted 17 May 2021, 9: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 18 May 2021, 5:14 am 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, 8:41 pm EST
Thank you. I will wait the update.
Posted 29 June 2021, 12:32 am 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, 7:54 pm 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 9 August 2021, 12:21 am EST
Hi Mikihiro,
Thank you for letting us know. We have forwarded it to the devs.
Best Regards,
Kartik
Posted 6 September 2021, 2:45 am EST
Thank you very much for the help. It means alot.
Posted 24 April 2023, 7:50 am 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
Posted 3 August 2023, 12:55 am EST
Hi,
We are happy to inform you that the SelectedItem and SelectedItems properties are added in 2023v2 version. You can download the 2023v2 installer from here: https://www.grapecity.com/componentone/download.
Best Regards,
Nitin