Skip to content
Version 2.35.0
↓ Get the launcher

BarElement.TrackColorFn property

Window bar (framework 2.33.0; also honoured by Modern window bars since 2.34.0): track colour, evaluated per refresh and painted only when it changes (alpha honoured — e.g. a theme “track” token, or fully transparent over plugin frame art). Returning null keeps the default track. Default null → no override machinery, unchanged. Init property (binary-compatible).

public Func<ColorRgba?>? TrackColorFn { get; set; }