robot_2Generated
code_blocksInput

Description

The Filled field is a member of the BorderImageFill enumeration within the Sandbox.UI namespace. It specifies that the middle of the container should be filled with the border's background image. This is part of the CSS property border-image-slice when using border-image.

Usage

Use the Filled field when you want the border's background image to fill the middle of the container. This is useful for creating a seamless appearance where the border image extends into the container's interior.

Example

// Example of using BorderImageFill in a UI component

public class MyPanel : Panel
{
    public MyPanel()
    {
        Style.BorderImage = "url('path/to/image.png')";
        Style.BorderImageSlice = "10%";
        Style.BorderImageFill = BorderImageFill.Filled;
    }
}