共用方式為


BorderBrush

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the brush that fills the border area.

<object BorderBrush="colorString" .../>
-or-
<object>
  <object.BorderBrush>
    singleBrush
  </object.BorderBrush>
</object>
value = object.BorderBrush
object.BorderBrush = value

XAML Values

See Brush.

Property Value

Type: Brush

The brush that fills the border area.

This property is read/write. The default is a null brush.

Applies To

Border, TextBox, PasswordBox

Version Information

Silverlight 2