Skip to content

ControlMarkupExtensions.Background<T> method

Sets the background color.

public static T Background<T>(this T target, Color value)
where T : Control
parameter description
T Receiver type.
target Target Control.
value Value assigned to Background.

The same element for chaining.

Sets: Control.Background