Skip to main content

TcxCustomDropDownEditProperties.PopupMinWidth Property

Specifies the minimum drop-down window width, in pixels.

Declaration

property PopupMinWidth: Integer read; write; default 100;

Property Value

Type Default Description
Integer 100

The minimum width (in pixels) of the drop-down window at 96 DPI.

The property value can be 0 or higher.

Remarks

Uses can resize the drop-down window if the PopupSizeable property is set to True. PopupMinWidth and PopupMinHeight property values limit the minimum drop-down window dimensions.

Property Setter Behavior

The PopupMinWidth property setter changes the property value to 0 if you assign a negative value to the PopupMinWidth property. The PopupMinWidth property setter assigns the new minimum drop-down window height as the new PopupWidth property value if it is less than the new PopupMinWidth property value.

Property Values and Scaling

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

Default Value

The PopupMinWidth property’s default value is 100.

See Also