ButtonChrome.RoundCorners Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating whether the Button has round corners.

Namespace:   Microsoft.Windows.Themes
Assemblies:   PresentationFramework.Aero (in PresentationFramework.Aero.dll)
  PresentationFramework.Aero2 (in PresentationFramework.Aero2.dll)

public bool RoundCorners { get; set; }

Property Value

Type: System.Boolean

true if the Button has round corners; otherwise false.

When set to false, the corners are square.

Identifier field

RoundCornersProperty

Metadata properties set to true

AffectsRender

.NET Framework
Available since 3.0
Return to top
Show: