RepositoryItemPictureEdit.CustomHeight Property
Gets or sets the height of the picture editor when it works as an inplace control.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 | An integer value specifying the height in pixels of an inplace picture editor. |
Remarks
The CustomHeight property is in effect when a picture editor is used as an inplace editor by a container control (for instance, XtraGrid). Typically, such controls can change the height of their horizontal items (rows) based upon the height of embedded editors. If its parent control’s auto height feature is active, the editor’s CustomHeight property specifies its height.
By default, the CustomHeight property is set to 0 and the height of the picture editor is then adjusted to the height of the displayed image.
The following image shows how the picture editor’s CustomHeight property affects the XtraGrid’s appearance.
Changing the value of this property at runtime raises the RepositoryItem.PropertiesChanged event.