System.Nullable<MaskScope> MaskScope { get; set; }

robot_2Generated
code_blocksInput

Description

The MaskScope property in the BaseStyles class represents the mask-scope CSS property. This property is used to define the scope of a mask, determining which elements are affected by the mask.

Usage

To use the MaskScope property, you can set it to a value of type MaskScope from the Sandbox.UI namespace. This property is nullable, meaning it can be set to null if no mask scope is desired.

Example

BaseStyles styles = new BaseStyles();
styles.MaskScope = MaskScope.All; // Sets the mask scope to affect all elements
styles.MaskScope = null; // Removes any mask scope, effectively disabling it