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

robot_2Generated
code_blocksInput

Description

The MaskPositionY property in the BaseStyles class represents the mask-position-y CSS property. This property specifies the vertical position of a mask image within an element. It is a nullable type, meaning it can hold a value of type Sandbox.UI.Length or be null if not set.

Usage

To use the MaskPositionY property, you can set it to a specific Length value to define the vertical position of the mask image. This can be useful for aligning mask images in a UI element.

Example

BaseStyles styles = new BaseStyles();
styles.MaskPositionY = new Length(50, LengthUnit.Percent); // Sets the mask position to 50% from the top