windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-0ad9dd70.md
Provides access to settings that enable masked mode and allow you to customize the masked mode behavior.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Appearance")]
public PictureEditOptionsMask OptionsMask { get; }
<DXCategory("Appearance")>
Public ReadOnly Property OptionsMask As PictureEditOptionsMask
| Type | Description |
|---|---|
| PictureEditOptionsMask |
An object whose settings allows you to enable masked mode and customize the masked mode behavior.
|
The masked mode can be used to clip out a part of the image. Use the PictureEditOptionsMask.MaskType property to enable the Circle or RoundedRect predefined mask type, or apply a custom mask.
A circle mask.
A rounded rectangle mask.
Use the PictureEditOptionsMask.RectCornerRadius property to specify the radius of rounded corners.
Enables the use of a custom mask, assigned to the PictureEditOptionsMask.CustomMask property.
Settings provided by the OptionsMask object allow you to customize the mask layouting behavior and mask bounds, based on your requirements.
See Also
RepositoryItemPictureEdit Class