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
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 |
|
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