Skip to content
Version 2.32.0
↓ Get the launcher

DropdownElement.MaxVisibleRows property

Maximum option rows shown before the floating list becomes vertically scrollable: when the live option count exceeds this, the popup height is capped at about this many rows and a themed thin scrollbar (the same one ScrollElement uses) appears. 0 (default) = unlimited — the list grows to fit every option exactly as before, so existing dropdowns are unchanged. An init property (NOT a primary-ctor parameter) so the record stays source AND binary compatible with already-compiled plugins — see WindowBuilder-Patterns.md “Binary compatibility rules for HudElement records”.

public int MaxVisibleRows { get; set; }