Borders

Properties related to borders

Borders create a visual border on the outside of an element.

In normal CSS, borders are declared with a single property, but in Delphi, borders are treated the same as padding, just with a different color (set with border-color)

FieldValue
CascadesNo
Default value0

Borders can be set individually with these properties:

  • border-top
  • border-right
  • border-bottom
  • border-left

Or defined with the border shorthand.

border color is determined by the border-color property.