| Visual Basic (Declaration) | |
|---|---|
Public Property RectanglePen As Pen | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public Pen RectanglePen {get; set;} | |
| XAML Syntax | |
|---|---|
| For XAML information, see the Pen type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
| XAML Syntax | |
|---|---|
| For XAML information, see the Pen type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
The Pan Rectangle Pen. The default color is red and default thickness is 1.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family