Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1175
Allow duplicate keys
posted

I have this code

 

 

 

Infragistics.Win.UltraWinListBar.Group grp = this.ultraListBar1.Groups.Add(dr["Name"].ToString(), dr["Caption"].ToString());

 

 

grp.Items.AllowDuplicateKeys = true;

but AllowDuplicateKeys is read-only and I can't find any property that will allow me to set this, any ideas of what property to set to allow this? Thank you, Jamie

  • 10880
    posted

    That property is inherited from a base class and is meant to be set.  The UltraWinListBar does not allow the addition of duplicate keys.

    On a side note, I recommend that you use the UltraWinExplorerBar instead with the explorerbar.Style property set to Listbar.  The UltraWinListBar is an older control.  The UltraWinExplorerBar is its replacement.