Skip to content

MarkupSolidColorBrush Object

Description

Paints an area with a solid color.

For a list of all members defined in this module, see MarkupSolidColorBrush Members.

Example

The CreateSolidBrush method is used to create a solid color brush to paint the background for a panel.

For example:

StackPanel.Background = Context.CreateSolidBrush(vbYellow)

To retrieve the current color, use the MarkupSolidColorBrush.Color property.

For example:

Print StackPanel.Background.Color

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.