Description
The BackdropFilterSaturate
property in the Sandbox.UI.BaseStyles
class represents the backdrop-filter-saturate
CSS property. This property is used to apply a saturation effect to the backdrop of an element, allowing you to adjust the intensity of colors in the backdrop.
Usage
To use the BackdropFilterSaturate
property, you can set it to a Sandbox.UI.Length
value, which represents the saturation level. A value of 1
means no change, values greater than 1
increase saturation, and values less than 1
decrease saturation.
Example
BaseStyles styles = new BaseStyles();
styles.BackdropFilterSaturate = new Length(1.5f); // Increase saturation by 50%