Skip to main content

TcxCustomDropDownEditProperties.PopupWidth Property

Specifies drop-down window width, in pixels.

Declaration

property PopupWidth: Integer read; write; default 250;

Property Value

Type Default Description
Integer 250

The width (in pixels) of the editor’s drop-down window at 96 DPI. If the property value is 0, the drop-down window width depends on the parent container (for example, a grid column associated with an in-place editor).

The PopupMinWidth property value defines the minimum PopupWidth property value.

Remarks

Use PopupWidth and PopupHeight properties to resize the editor’s drop-down window if the PopupAutoSize property is set to False. Otherwise, the currently embedded control and its visible content determines drop-down window dimensions.

Property Setter Behavior

The PopupWidth property setter changes the property value to PopupMinWidth if you assign a value below PopupMinWidth to the PopupWidth property.

Property Values and Scaling

The PopupWidth property specifies the base drop-down window width (in pixels) that corresponds to 96 DPI. Editor draw routines multiply the PopupWidth property value by the current scale factor and round the result to the nearest integer to calculate actual drop-down window height on the target screen.

Default Value

The PopupWidth property’s default value is 250.

See Also