Back to Devexpress

PictureEditOptionsMask.RectCornerRadius Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-pictureeditoptionsmask-50987d20.md

latest2.4 KB
Original Source

PictureEditOptionsMask.RectCornerRadius Property

Gets or sets the radius of rounded corners for the RoundedRect mask type (see PictureEditOptionsMask.MaskType).

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(10)]
[SupportedMaskOption(SupportedMaskOptionKind.RoundedRect)]
public int RectCornerRadius { get; set; }
vb
<DefaultValue(10)>
<SupportedMaskOption(SupportedMaskOptionKind.RoundedRect)>
Public Property RectCornerRadius As Integer

Property Value

TypeDefaultDescription
Int3210

The radius of rounded corners for the RoundedRect mask type.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to RectCornerRadius
RepositoryItemPictureEdit

.OptionsMask .RectCornerRadius

|

Remarks

The RectCornerRadius property values are measured in pixels relative to the target image. Thus, when image stretching (RepositoryItemPictureEdit.SizeMode) and mask stretching (PictureEditOptionsMask.MaskLayoutMode) are enabled, the masked corners will look differently for target images of different sizes.

See Also

MaskType

PictureEditOptionsMask Class

PictureEditOptionsMask Members

DevExpress.XtraEditors.Controls Namespace