menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGradient - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGradient

    Interface used to get gradient fill effects.

    Namespace: Syncfusion.XlsIO.Interfaces
    Assembly: Syncfusion.XlsIO.Portable.dll
    Syntax
    public interface IGradient

    Properties

    BackColor

    Represents background color.

    Declaration
    Color BackColor { get; set; }
    Property Value
    Type
    Color

    BackColorIndex

    Represents background color index.

    Declaration
    ExcelKnownColors BackColorIndex { get; set; }
    Property Value
    Type
    ExcelKnownColors

    BackColorObject

    Represents background color object.

    Declaration
    ColorObject BackColorObject { get; }
    Property Value
    Type
    ColorObject

    ForeColor

    Represents foreground color.

    Declaration
    Color ForeColor { get; set; }
    Property Value
    Type
    Color

    ForeColorIndex

    Represents foreground color index.

    Declaration
    ExcelKnownColors ForeColorIndex { get; set; }
    Property Value
    Type
    ExcelKnownColors

    ForeColorObject

    Represents foreground color object.

    Declaration
    ColorObject ForeColorObject { get; }
    Property Value
    Type
    ColorObject

    GradientStyle

    Represents gradient shading style.

    Declaration
    ExcelGradientStyle GradientStyle { get; set; }
    Property Value
    Type
    ExcelGradientStyle

    GradientVariant

    Represents gradient shading variant.

    Declaration
    ExcelGradientVariants GradientVariant { get; set; }
    Property Value
    Type
    ExcelGradientVariants

    Methods

    CompareTo(IGradient)

    Compares with gradient.

    Declaration
    int CompareTo(IGradient gradient)
    Parameters
    Type Name Description
    IGradient gradient

    Gradient to compare with.

    Returns
    Type Description
    System.Int32

    Zero if gradients are equal.

    TwoColorGradient()

    Sets the specified fill to a two-color gradient.

    Declaration
    void TwoColorGradient()

    TwoColorGradient(ExcelGradientStyle, ExcelGradientVariants)

    Sets the specified fill style with fill to a two-color gradient.

    Declaration
    void TwoColorGradient(ExcelGradientStyle style, ExcelGradientVariants variant)
    Parameters
    Type Name Description
    ExcelGradientStyle style

    Represents shading shading style.

    ExcelGradientVariants variant

    Represents shading variant.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved