Conditional Visibility
In this section you will find out how to use Conditional Visibility
Conditional Visibility allows dynamic display adjustments of UI components or layers based on specified conditions. This feature is handy when you need UI elements to respond to changes, such as altering the color of a metric indicator depending on whether its value is positive or negative.
To practice the feature, let's build this example:
Let's go by colors one by one. For building the green part, please follow the steps:
Click on the
Add Fill
button from the Right SidebarClick on the
Color
button to change the colorClick on the
Conditional Fill
buttonFrom the Component Parameters choose the right parameter
Set the condition of the parameter > 0
For building the red part, please follow the steps:
Click on the
Add Fill
button from the Right Sidebar to add the second fillClick on the
Color
button to change the colorClick on the
Conditional Fill
buttonFrom the Component Parameters choose the right parameter
Set the condition of the parameter < 0
Component Property Conditional Visibility
Component Property Visibility allows you to apply conditions to Fills, Borders, and Shadows based on conditions.
Component Conditional Visibility
Component Conditional Visibility allows you to show/hide the element (text, shapes, images) on the Component Designer.
Last updated