We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GroupView SelectedItem Property

Thread ID:

Created:

Updated:

Platform:

Replies:

30759 Jun 23,2005 09:46 AM UTC Sep 19,2005 03:40 PM UTC WinForms 4
loading
Tags: Tools
Mikaël Morvan
Asked On June 23, 2005 09:46 AM UTC

Hi, How can i have no selected groupviewitem in a groupview control. This code seems not work : GroupView.SelectedItem = -1; I use the 3.2.1.0 version Regards, Mikaël

Administrator [Syncfusion]
Replied On June 23, 2005 10:57 PM UTC

Hi Mikael, The SelectedItem property holds the value of the GroupViewItem that is currently located beneath the mouse. Therefore, setting it has no effect. To have no SelectedItem, simply move the mouse off of the GroupView. If you have any questions regarding this, please don''t hesitate to ask. Regards, Gregory Austin Syncfusion Inc.

Mikaël Morvan
Replied On June 24, 2005 08:24 AM UTC

Hi, When i want to select an GrouViewItem by code, i set the GroupView.SelectedItem to the index of the GroupViewItem in the GroupView.GroupViewItems collection. This work fine. Why the -1 value doesn''t work (with GroupBar control, this work fine). I use 2 GroupView controls. When i select an item in one of the groupview, i want to have no selected item in the other groupview. How can i do this ? Regards, Mikaël

Administrator [Syncfusion]
Replied On June 28, 2005 06:04 PM UTC

Hi Mikael, I''m having some difficulty understanding what you''re trying to do. Would it be possible for you to put together a sample that demonstrates this, so that I can see if there''s a better way to do this? Thank you for your cooperation. Regards, Gregory Austin Syncfusion Inc.

Administrator [Syncfusion]
Replied On September 19, 2005 03:40 PM UTC

I needed to do a similar thing, and I believe I found the workaround to be to set the groupview''s ButtonView to false when you do not want the groupview to appear as though anything is selected.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;