Back to Devexpress

PictureEditOptionsMask Members

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-pictureeditoptionsmask-dot-underscore-members.md

latest5.9 KB
Original Source

PictureEditOptionsMask Members

Contains settings that enable masked mode and allow you to customize the masked mode behavior.

Constructors

NameDescription
PictureEditOptionsMask()Initializes a new instance of the PictureEditOptionsMask class.
PictureEditOptionsMask(RepositoryItemPictureEdit)Initializes a new instance of the PictureEditOptionsMask class.

Properties

NameDescription
CustomMaskGets or sets a custom mask, applied to the target image in PictureEditMaskType.Custom mode.
MarginGets or sets the outer margin of the mask.
MaskLayoutModeGets or sets how a mask is aligned relative to the target image.
MaskTypeGets or sets which mask type is applied.
OffsetGets or sets the offset of the mask relative to the image.
RectCornerRadiusGets or sets the radius of rounded corners for the RoundedRect mask type (see PictureEditOptionsMask.MaskType).
SizeGets or sets a custom size for the mask.

Methods

NameDescription
Assign(BaseOptions)Copies all settings from the options object passed as the parameter and assigns them to the current object.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all options to their default values. Inherited from BaseOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

NameDescription
ChangedFor internal use.

See Also

PictureEditOptionsMask Class

DevExpress.XtraEditors.Controls Namespace