wpf-devexpress-dot-xpf-dot-core-dot-simplebutton-024e899a.md
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
public CornerRadius CornerRadius { get; set; }
Public Property CornerRadius As CornerRadius
| Type | Description |
|---|---|
| CornerRadius |
The SimpleButton ‘s corner radius.
|
<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
</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