PenSettings.Color Property

Definition

Gets or sets the Color information for this PenStyleSetInfo. Only allows the change if the property is not immutable and sets the override flags appropriately.

C++
public:
 property System::Drawing::Color Color { System::Drawing::Color get(); void set(System::Drawing::Color value); };

Property Value

The Color used for this pen.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022