Sets the top border width, overriding property borderWidth.
This is equivalent to the CSS border-top-width property, and any valid value for this CSS property can be used when setting a value.
Setting this property to null removes any existing value.
Note that for a border to be visible, the borderStyle and borderColor properties are also required.
borderWidth
. This is equivalent to the CSS border-top-width property, and any valid value for this CSS property can be used when setting a value. Setting this property tonull
removes any existing value.Note that for a border to be visible, the
borderStyle
andborderColor
properties are also required.Examples: