System.Nullable<Color> BorderImageTint { get; set; }

robot_2Generated
code_blocksInput

Description

The BorderImageTint property in the Sandbox.UI.BaseStyles class represents the border-image-tint CSS property. This property allows you to apply a tint color to the border image of a UI element, which can be useful for achieving specific visual effects or matching a design theme.

Usage

To use the BorderImageTint property, assign it a Color value. This value will be applied as a tint to the border image of the UI element. If you do not want to apply any tint, you can set this property to null.

Example

// Example of setting the BorderImageTint property
var styles = new BaseStyles();
styles.BorderImageTint = new Color(1.0f, 0.5f, 0.5f, 0.8f); // Apply a semi-transparent red tint

// To remove the tint, set it to null
styles.BorderImageTint = null;