Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool IsPopupAutoWidth { get; set; }

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsPopupAutoWidth 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.

See Also