Class RangeColorMapping
Represents the range color mapping . To render this, create an instance of the RangeColorMapping class, and set required properties.
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()