windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupcontaineredit-3d11f51a.md
Gets or sets a value indicating whether end-users can resize the popup window.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool PopupSizeable { get; set; }
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Overridable Property PopupSizeable As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to allow popup window resizing; otherwise, false.
|
The PopupSizeable property controls whether the end-user can resize the dropdown window by dragging its bottom right corner. If the property is set to false , resizing is not allowed and the dropdown window is always the same size. Initially, the popup window size is specified by the dimensions of the PopupContainerControl control assigned to the RepositoryItemPopupContainerEdit.PopupControl property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the PopupSizeable 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.
winforms-grid-use-layoutview-as-master-view/CS/WindowsApplication3/MasterDetailHelper.cs#L99
item.ShowPopupCloseButton = item.ShowPopupShadow = false;
item.PopupSizeable = false;
item.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
winforms-popup-container-edit-with-default-ok-button/CS/PopupContainerFormOkButton.cs#L40
this.fCloseButtonStyle = BlobCloseButtonStyle.None;
this.AllowSizing = Properties.PopupSizeable;
if (!AllowSizing && !fShowOkButton && fCloseButtonStyle == BlobCloseButtonStyle.None)
winforms-grid-use-layoutview-as-master-view/VB/WindowsApplication3/MasterDetailHelper.vb#L110
item.ShowPopupCloseButton = item.ShowPopupShadow
item.PopupSizeable = False
item.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor
winforms-popup-container-edit-with-default-ok-button/VB/PopupContainerFormOkButton.vb#L36
AllowSizing = Properties.PopupSizeable
If Not AllowSizing AndAlso Not fShowOkButton AndAlso fCloseButtonStyle = BlobCloseButtonStyle.None Then ViewInfo.ShowSizeBar = False
See Also
RepositoryItemPopupContainerEdit Class