menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class RangeColorMapping

    Represents the range color mapping . To render this, create an instance of the RangeColorMapping class, and set required properties.

    Inheritance
    System.Object
    ColorMapping
    RangeColorMapping
    Namespace: Syncfusion.SfTreeMap.XForms
    Assembly: Syncfusion.SfTreeMap.XForms.dll
    Syntax
    public class RangeColorMapping : ColorMapping

    Constructors

    RangeColorMapping()

    Initializes a new instance of the RangeColorMapping class.

    Declaration
    public RangeColorMapping()

    Fields

    RangesProperty

    Gets or sets the value of ranges, which is the observable collection of range. This is a bindable property

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

    Properties

    Ranges

    Gets or sets the value of ranges, which is the observable collection of range. This is a bindable property.

    Declaration
    public ObservableCollection<Range> Ranges { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<Range>

    Methods

    OnBindingContextChanged()

    This method is used to override the binding context and set the binding context when the properties are changed.

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