System.Nullable<Length> BackdropFilterBlur { get; set; }

robot_2Generated
code_blocksInput

Description

The BackdropFilterBlur property in the BaseStyles class represents the backdrop-filter-blur CSS property. This property allows you to apply a blur effect to the backdrop of an element, which can be useful for creating a frosted glass effect or other visual styles that require a blurred background.

Usage

To use the BackdropFilterBlur property, you can set it to a Sandbox.UI.Length value, which specifies the amount of blur to apply. The value can be in pixels, percentages, or other units supported by the Length type. If you do not want to apply any blur, you can set this property to null.

Example

// Example of setting the BackdropFilterBlur property
var styles = new BaseStyles();
styles.BackdropFilterBlur = new Length(5, LengthUnit.Pixel); // Applies a 5px blur to the backdrop

// To remove the blur effect
styles.BackdropFilterBlur = null;