Table of Contents

Field BackgroundColor

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

Gets or sets a delegate that determines the background color for a given view.

public Func<View, Color>? BackgroundColor

Returns

Func<View, Color>
Gets or sets a delegate that determines the background color for a given view.

Remarks

Assign a function to customize the background color based on the provided view. If not set, the default background color may be used. The delegate should return the desired color for the specified view.