LookUpEdit.IsPopupAutoWidth Property

Gets or sets whether the dropdown's width matches the width of the edit box. This is a dependency property.

Namespace: DevExpress.Xpf.Grid.LookUp

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public bool IsPopupAutoWidth { get; set; }
Public Property IsPopupAutoWidth As Boolean

Property Value

Type Description
Boolean

true if the dropdown's width matches the width of the edit box; otherwise, false.

Remarks

The dropdown's width is specified by the PopupBaseEdit.PopupWidth property. If this property is not specified, use the IsPopupAutoWidth property, to specify how the dropdown's width is calculated when it is shown for the first time.

If the IsPopupAutoWidth property is set to true, the dropdown's initial width matches the width of the edit box. If the IsPopupAutoWidth property is set to false, the dropdown's width matches the width of its contents.

See Also