Description
The BackdropFilterHueRotate
property in the Sandbox.UI.BaseStyles
class represents the backdrop-filter-hue-rotate
CSS property. This property allows you to apply a hue rotation effect to the backdrop of an element, effectively changing the color tone of the background image or color behind the element.
Usage
To use the BackdropFilterHueRotate
property, assign it a value of type Sandbox.UI.Length
, which can be a specific angle in degrees (e.g., 90deg
) or a percentage. This value determines the degree of hue rotation applied to the backdrop.
Example
// Example of setting the BackdropFilterHueRotate property
var styles = new BaseStyles();
styles.BackdropFilterHueRotate = new Length(90, LengthUnit.Degrees);