Back to Devexpress

PictureEditMaskLayoutMode Enum

windowsforms-devexpress-dot-xtraeditors-dot-controls-36517200.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum PictureEditMaskLayoutMode
vb
Public Enum PictureEditMaskLayoutMode

Members

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

|

The following properties accept/return PictureEditMaskLayoutMode values:

Remarks

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

See Also

MaskLayoutMode

DevExpress.XtraEditors.Controls Namespace