Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.BackgroundColor Property

Gets or sets the color which will fill the background of a VisualElement. This is a bindable property.

Syntax

public Color BackgroundColor { get; set; }

Value

The color that is used to fill the background of a VisualElement. The default is Color.Default.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0