Skip to content
Version 2.35.0
↓ Get the launcher

BarElement.FillGradient property

Modern (2.34.0): a vertical gradient fill, top (At 0) → bottom (At 1), 2+ stops in order. Baked once at build into a small texture; Fill is then ignored and FillColorFn, when set, MULTIPLIES the gradient (return white or null for its own colours). Null or fewer than 2 stops (default) = the flat Fill, unchanged.

public IReadOnlyList<GradientStop>? FillGradient { get; set; }