Version

CreateRectangularGradientFill(Color,Color) Method

Creates a rectangular gradient that can be applied to a cell's fill.
Syntax
public static CellFillRectangularGradient CreateRectangularGradientFill( 
   Color color1,
   Color color2
)

Parameters

color1
The color at the inner rectangle (cell center) of the gradient.
color2
The color at the outer rectangle (cell edges) of the gradient.
Exceptions
ExceptionDescription
System.ArgumentExceptioncolor1 or color2 are empty or system colors or have a non-opaque alpha channel.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also