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

PictureEditMaskLayoutMode Enum

Contains values that specify how a mask is aligned relative to an image in the PictureEdit control.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum PictureEditMaskLayoutMode

#Members

Name Description
Default

The same as ZoomInside.

ZoomInside

A mask is stretched proportionally within the image’s boundaries.

Stretch

A mask is stretched to fit the image’s boundaries.

BottomCenter

A mask is aligned at the center of the bottom side of the image.

BottomLeft

A mask is aligned to the bottom left corner of the image.

BottomRight

A mask is aligned to the bottom right corner of the image.

MiddleCenter

A mask is aligned to the middle of the image.

MiddleLeft

A mask is aligned at the center of the left side of the image.

MiddleRight

A mask is aligned at the center of the right side of the image.

TopCenter

A mask is aligned at the center of the top side of the image.

TopLeft

A mask is aligned to the top left corner of the image.

TopRight

A mask is aligned to the top right corner of the image.

#Related API Members

The following properties accept/return PictureEditMaskLayoutMode values:

#Remarks

Use the PictureEditMaskLayoutMode values to initialize the PictureEditOptionsMask.MaskLayoutMode property.

See Also