RepositoryItemPopupBase.PopupFormWidth Property

Gets or sets the popup window's width.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public int PopupFormWidth { get; set; }
<Browsable(False)>
Public Property PopupFormWidth As Integer

Property Value

Type Description
Int32

An integer value specifying the width of the editor's popup window.

Remarks

Setting the PopupFormWidth property modifies the Width field of the RepositoryItemPopupBase.PopupFormSize property, while the Height field remains unchanged.

By default, the RepositoryItemPopupBase.PopupFormSize property is set to value {Width=0, Height=0}. This means that the popup window has a default width and height. Then, if a value is assigned to the PopupFormWidth property, the PopupFormSize.Height field is still set to 0. This means that the popup form's height is now zero, and no data will be displayed. To resolve the issue, you need to set the popup form's height as well, via the RepositoryItemPopupBase.PopupFormSize property.

See Also