menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfGradientStop - API Reference

    Show / Hide Table of Contents

    Class SfGradientStop

    Represents the SfGradientStop class.

    Inheritance
    System.Object
    SfGradientStop
    Namespace: Syncfusion.XForms.Graphics
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public class SfGradientStop : Element

    Constructors

    SfGradientStop()

    Declaration
    public SfGradientStop()

    Fields

    ColorProperty

    Gets or sets the gradient color of the gradient stop. This is a bindable property.

    Declaration
    public static readonly BindableProperty ColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    OffsetProperty

    Gets or sets the gradient offset of the gradient stop. This is a bindable property.

    Declaration
    public static readonly BindableProperty OffsetProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Color

    Gets or sets the color of the gradient stop. This is a bindable property.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    Offset

    Gets or sets the offset of the gradient stop. This is a bindable property.

    Declaration
    public double Offset { get; set; }
    Property Value
    Type Description
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved