Element's States

In USolver, states provide a powerful way to define and manage custom styles that can be toggled on or off based on interaction or data. A state is essentially a named collection of style properties—such as background color, font size, text color, borders, shadows, and more—that can be applied to elements under certain conditions. States can be triggered by events like mouse hover, mouse down, or focus, allowing for rich interactive behavior. Additionally, states can be linked to spreadsheet cells, enabling programmatic control based on logic or user-driven data.