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

robot_2Generated
code_blocksInput

Description

The BorderImageFill property in the Sandbox.UI.BaseStyles class represents the border-image-fill CSS property. This property is used to specify whether the middle part of a border image should be preserved or discarded. It is a nullable property of type Sandbox.UI.BorderImageFill, allowing for the specification of different fill options or leaving it unset.

Usage

To use the BorderImageFill property, you can set it to a value from the Sandbox.UI.BorderImageFill enumeration. This property is typically used in conjunction with other border image properties to define how the border image is applied to an element.

Example

BaseStyles styles = new BaseStyles();
styles.BorderImageFill = BorderImageFill.Stretch; // Sets the border image fill to stretch the middle part

// Alternatively, you can set it to null to use the default behavior
styles.BorderImageFill = null;