Back to Devexpress

RepositoryItemPictureEdit.OptionsMask Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-0ad9dd70.md

latest3.2 KB
Original Source

RepositoryItemPictureEdit.OptionsMask Property

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

Declaration

csharp
[DXCategory("Appearance")]
public PictureEditOptionsMask OptionsMask { get; }
vb
<DXCategory("Appearance")>
Public ReadOnly Property OptionsMask As PictureEditOptionsMask

Property Value

TypeDescription
PictureEditOptionsMask

An object whose settings allows you to enable masked mode and customize the masked mode behavior.

|

Remarks

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

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace