Back to Devexpress

BaseEdit.CornerRadius Property

wpf-devexpress-dot-xpf-dot-editors-dot-baseedit-2bc25b64.md

latest2.2 KB
Original Source

BaseEdit.CornerRadius Property

Gets or sets the editor’s corner radius. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

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 editor’s corner radius.

|

Remarks

xaml
<Window ...
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <Grid>
      <dxe:TextEdit Margin="5" Padding="2,4" BorderThickness="2"
                    EditValue="Custom Appearance" CornerRadius="14"
                    Background="#FFE9EBEC" BorderBrush="#FFE9EBEC" />
    </Grid>
</Window>

Note

The property is supported in the following DevExpress themes:

Theme FamilyThemes
Windows 11Dark, Light
Windows 10Dark, Light
Office 2019Black, Colorful, Dark Gray, White, HighContrast
Visual Studio 2019Blue, Dark, Light
Office 2016 SEBlack, Colorful, Dark Gray, White
Visual Studio 2017Blue, Dark, Light

See Also

BaseEdit Class

BaseEdit Members

DevExpress.Xpf.Editors Namespace