Version

CreateLinearGradientFill(Double,Color,Color) Method

Creates a linear gradient that can be applied to a cell's fill.
Syntax
public static CellFillLinearGradient CreateLinearGradientFill( 
   double angle,
   Color color1,
   Color color2
)

Parameters

angle
The angle, in degrees, of the direction of the linear gradient, going clockwise from the left-to-right direction.
color1
The color at the start of the gradient.
color2
The color at the end of the gradient.
Exceptions
ExceptionDescription
System.ArgumentExceptioncolor1 or color2 are the 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