Skip to content
Version 2.32.0
↓ Get the launcher

DropdownElement.CornerRadius property

Corner radius in px of the Pill trigger. 0 (default) = the trigger keeps its current look (the shared small chip rounding), so existing Pill dropdowns are unchanged; a positive value draws the trigger’s fill (rest and hover) at that radius. Any value ≥ 13 gives a full capsule that matches the house pill buttons (so 14 is fine too): the framework caps the radius at height/2 − 1, because the sliced fill’s minimum size is 2r+2 and a radius of 14 would grow the 28 px trigger to 30 px. The option list is not affected. Ignored by Classic. An init property (NOT a primary-ctor parameter) so the record stays source AND binary compatible with already-compiled plugins; a plugin that sets it needs framework ≥2.29.0.

public float CornerRadius { get; set; }