A newer version of this page is available. Switch to the current version.

HtmlEditorImages.InsertImageDialogConstrainProportionsTop Property

Gets the ImageProperties object represented the top part of a specific constrain proportions image displayed within the ASPxHtmlEditor's Insert image dialog.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll


public ImageProperties InsertImageDialogConstrainProportionsTop { get; }
Public ReadOnly Property InsertImageDialogConstrainProportionsTop As ImageProperties

Property Value

Type Description

An ImageProperties object that contains image settings.


A specific constrain proportions image is displayed within the Insert Image dialog of the ASPxHtmlEditor, and indicates whether the proportions of the inserted (or edited) image are constrained. The constrain proportion image can be displayed as a switched on (ASPxHtmlEditor-ConstrainProportionsImageOn) or switched off (ASPxHtmlEditor-ConstrainProportionsImageOff) image.


The constrain proportions image consists of three parts - specific top, middle and bottom images.

The top part of the image (ASPxHtmlEditor-ConstrainProportionsImage-Top) is defined by using the InsertImageDialogConstrainProportionsTop property.

The middle part of the constrain proportions image can be displayed as either a switched on image (ASPxHtmlEditor-ConstrainProportionsImage-Middle-SwitchedOn) or switched off image (ASPxHtmlEditor-ConstrainProportionsImage-Middle-SwitchedOff) whose settings are defined using the HtmlEditorImages.InsertImageDialogConstrainProportionsMiddleOn or HtmlEditorImages.InsertImageDialogConstrainProportionsMiddleOff property, respectively.

The bottom part of the image (ASPxHtmlEditor-ConstrainProportionsImage-Bottom) can be defined via the HtmlEditorImages.InsertImageDialogConstrainProportionsBottom property.

See Also