Table of Contents

Method SetBackgroundColor

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetBackgroundColor(Color?, Color?)

Sets the background color: if two colors are specified, the background is drawn using a gradient from top to bottom, otherwise a single solid color is used.

public virtual void SetBackgroundColor(Color? color, Color? endColor = null)

Parameters

color Color

Background color.

endColor Color

Second background color.