Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(10)]
[SupportedMaskOption(SupportedMaskOptionKind.RoundedRect)]
public int RectCornerRadius { get; set; }

#Property Value

Type Default Description
Int32 10

The radius of rounded corners for the RoundedRect mask type.

#Property Paths

You can access this nested property as listed below:

Object Type Path 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