Back to Devexpress

SimpleButton.CornerRadius Property

wpf-devexpress-dot-xpf-dot-core-dot-simplebutton-024e899a.md

latest2.5 KB
Original Source

SimpleButton.CornerRadius Property

Gets or sets the SimpleButton‘s corner radius. This is a dependency property.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public CornerRadius CornerRadius { get; set; }
vb
Public Property CornerRadius As CornerRadius

Property Value

TypeDescription
CornerRadius

The SimpleButton ‘s corner radius.

|

Remarks

xaml
<Window ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core">
  <dx:SimpleButton CornerRadius="5" BorderThickness="2" BorderBrush="CadetBlue"/>
</Window>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CornerRadius property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L100

xml
</dxa:AccordionControl>
<dx:SimpleButton Grid.Row="1" CornerRadius="3" Foreground="White" Background="#BF60B5CC" Width="140" Height="40" Content="AI Assistant"/>
<TextBlock Grid.Row="2" HorizontalAlignment="Center" Foreground="#6DFFFFFF" FontFamily="Arial Rounded MT" Text="App v1.01" FontSize="8" Margin="20"/>

See Also

SimpleButton Class

SimpleButton Members

DevExpress.Xpf.Core Namespace