PictureEditOptionsMask.RectCornerRadius Property
In This Article
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 Rounded |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Rect |
---|---|
Repository |
|
#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