RepositoryItemPopupBase.PopupFormMinSize Property
Gets or sets the minimum size for the associated dropdown window.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Size | A |
Remarks
The PopupFormMinSize property specifies the minimum size of the control’s dropdown window (the client region and borders). For a LookUpEdit control, this setting does not include the vertical scrollbar’s width (if it is visible).
For a PopupContainerEdit control, the associated dropdown window is a PopupContainerControl class object. The PopupContainerControl provides the MinimumSize property that specifies the minimum size of the dropdown window’s client region (without borders). By default, the MinimumSize property is ignored and the editor’s PopupFormMinSize is used instead. To use the MinimumSize property, set the RepositoryItemPopupContainerEdit.UsePopupControlMinSize property to true.
By default, the PopupFormMinSize property is set to (0, 0). In this instance, a predefined default minimum size is applied, which is different for different editor types.
For a LookUpEdit control, the (0, 0) value assigned to the PopupFormMinSize property is equivalent to the (200, 100) constraint. Note that setting the popup width (RepositoryItemLookUpEdit.PopupWidth) for a LookUpEdit control to a value less than the edit box width is not supported. It is also not possible to set the popup width to a value less than the dropdown’s minimum width.
The PopupFormMinSize property cannot be set to a value less than (10, 10).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopupFormMinSize property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.