menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfGradientBrush - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfGradientBrush

    Represents the SfGradientBrush class.

    Inheritance
    System.Object
    SfGradientBrush
    SfLinearGradientBrush
    SfRadialGradientBrush
    Namespace: Syncfusion.XForms.Graphics
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public abstract class SfGradientBrush : Element

    Constructors

    SfGradientBrush()

    Declaration
    protected SfGradientBrush()

    Fields

    GradientStopsProperty

    Gets or sets the gradient stops of the gradient values. This is a bindable property.

    Declaration
    public static readonly BindableProperty GradientStopsProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    GradientStops

    Gets or sets the color and offset of a transistion point in a gradient.This is a bindable property.

    Declaration
    public GradientStopCollection GradientStops { get; set; }
    Property Value
    Type
    GradientStopCollection

    Methods

    OnBindingContextChanged()

    Invoked whenever the binding context of the element changes.

    Declaration
    protected override void OnBindingContextChanged()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved