Mohammad Dayyan
Mohammad Dayyan

Reputation: 22408

Changing background color of RectangleShape in Visual Basic Power Pack 3 with C#?

I've installed Visual Basic Power Pack 3 in Visual Studio 2008 SP1.
I wanna change the background color of RectangleShape in a C# WinForm !!!
I changed FillColor property and BackColor property to Black but nothing happened and RectangleShape's background color didn't changed.

How can I change the background color of RectangleShape ?

Upvotes: 2

Views: 3733

Answers (2)

Hans Passant
Hans Passant

Reputation: 941724

Change the BackStyle property from "Transparent" to "Opaque". Click around some more to see what effects the properties have, the designer support is pretty good.

Upvotes: 2

James Love
James Love

Reputation: 1020

Did you set the FillStyle to Solid?

Upvotes: 4

Related Questions