[25-mar-2020 update] : removed Reset parameter, added MaxSelectedItems parameter
_____________________________________________________________________________________________________________________________
This component will allow you to add nice toggle sets to your applications. They are fully customizable so you will be able to give them the look and the behavior you want:
Its parameters are as follow:
- AllowNoSelection = if only one item is selected, allows the user to unselect it, thus having no items selected at all
- BorderColor = color for the borders of the toggle set (as well as for the vertical separating lines between items)
- BorderThickness = border thickness of the component
- Color = text color for non-selected items
- DisabledColor = text color for disabled items
- DisabledFill = item fill color for disabled items
- FontWeight = font weight for the item labels
- Items = list of items for the toggle set (columns are: Id, Value, Disabled, Size, Selected)
- ItemFill = fill color for non-selected items
- MaxSelectedItems (number) = maximum number of items that can be selected (only if SelectMultiple is True, then value should be between 2 and number of items in Items)
- Radius = in pixels, radius for the left and right corners of the component
-Reset= resets the components to its defaults pre-selected items specified in the Itemsproperty (use the Selectedcolumn) (use Reset() function instead)
- SelectedBorderColor = border color of selected items
- SelectedColor = text color for selected items
- SelectedFill = fill color for selected items
- SelectMultiple = allows the selection of multiple items
- Size = default font size for the item labels
Enjoy!