BorderBrush Property
Description
Gets or sets the MarkupBrush that draws the outer border color.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property BorderBrush() As [MarkupBrush](XtremeMarkup~MarkupBrush.md)
Return Type
The MarkupBrush that draws the outer border color.
Remarks
The [CreateSolidBrush](XtremeMarkup~MarkupContext~CreateSolidBrush.md) method is used to create a solid color brush to paint the border.
For example:
Border1.BorderBrush = Context.CreateSolidBrush(vbYellow)
Note that [CreateSolidBrush](XtremeMarkup~MarkupContext~CreateSolidBrush.md) creates a [MarkupSolidColorBrush](XtremeMarkup~MarkupSolidColorBrush.md) object that stores the color value.
To retrieve the current color, use the [MarkupSolidColorBrush.Color](XtremeMarkup~MarkupSolidColorBrush~Color.md) property.
For example:
Print Border1.BorderBrush.Color
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.