Skip to content
Version 2.35.0
↓ Get the launcher

BarElement.CornerRadius property

Window bar corner radius in px of BOTH the track and the fill, so the fill is a rounded bar too. Default (framework 2.33.0): a radius larger than half the bar Height is drawn down-scaled so the bar never grows past its height (radius 2 on a 4 px bar = a capsule). Modern (framework 2.34.0): track, fill (with its FillGradient and Gloss baked in), Trail01 and a flat Overlay01 get rounded ends (radius capped at half the height); a striped overlay stays square. 0 (the default) = the unrounded bar of each style, unchanged. Init property (binary-compatible).

public float CornerRadius { get; set; }