The Default
field of the MaskScope
enumeration represents the standard mask setting. It is used to specify the default behavior for the mask-scope
CSS property in the Sandbox UI framework.
The Default
field of the MaskScope
enumeration represents the standard mask setting. It is used to specify the default behavior for the mask-scope
CSS property in the Sandbox UI framework.
Use the MaskScope.Default
field when you want to apply the standard mask behavior to a UI element. This is typically used in scenarios where no specific mask customization is required, and the default behavior is sufficient.
// Example of using MaskScope.Default in a UI component public class MyComponent : Panel { public MyComponent() { // Set the mask scope to default this.Style.Set("mask-scope", MaskScope.Default.ToString().ToLower()); } }