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

robot_2Generated
code_blocksInput

Description

Represents the perspective-origin-y CSS property.

Usage

The PerspectiveOriginY property is used to set the vertical position of the origin for the perspective property. It is a nullable property of type Sandbox.UI.Length, allowing you to specify a length value or leave it unset.

Example

// Example of setting the PerspectiveOriginY property
BaseStyles styles = new BaseStyles();
styles.PerspectiveOriginY = new Length(50, LengthUnit.Percent); // Sets the perspective origin to 50% vertically

// Example of clearing the PerspectiveOriginY property
styles.PerspectiveOriginY = null; // Resets the perspective origin to its default value