OptionSet Control

OptionSet Control
A control designed to display and interact with an Option Set attribute in a model-driven app.
The control renders option set values as buttons and allows users to select a value. Dynamically retrieves option set values from the OptionSetAttribute.
Displays options as buttons with customizable colors.
Allows toggling selection. Provides soft default colors when custom colors are not provided.
Updates and maintains state based on user interaction and data context changes.
Author: Shahzaib Hassan