I've got a radio group using an UltraOptionSet that I would like to disable certain options in at different times.
I've tried looking for options on the set itself, but can only find the global enabled or disabled property.
The individual OptionSetItem objects don't seem to have an enabled property...
Does anyone know how this can be done?
Thanks
Hi,
No, there's is currently no way to disable items in the OptionSet. The only thing you could do is remove the item from the list so the user can't select it.
You should submit a feature request to Infragistics: Request a Feature or Component
Is such an option available in infragistics 10.3 ?
Thanks.
I found a way:
Dim element As Infragistics.Win.OptionSetOptionButtonUIElement
element = DirectCast(UltraOptionSet1.UIElement.ChildElements(0).ChildElements(xxx), Infragistics.Win.OptionSetOptionButtonUIElement)
With element .Enabled = False .Invalidate()End With
Change xxx for the index of the ValueListItem you want to disable. Item still clickable though :(