Class ColorMapping
Represents the ColorMapping. To render this color mapping, create an instance of the ColorMapping class, and set required properties.
Namespace: Syncfusion.SfMaps.XForms
Assembly: Syncfusion.SfMaps.XForms.dll
Syntax
public class ColorMapping : BindableObject
Constructors
ColorMapping()
Initializes a new instance of the ColorMapping class. Using this instance, you can set a value for required properties for color mapping.
Declaration
public ColorMapping()
Fields
ColorProperty
Gets or sets the color property for mapping of map shapes. It customizes the color value for specified value path.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LegendLabelProperty
Gets or sets the name of the legendLabel property for maps. It provides information about the maps. You can customize the legend label.
Declaration
public static readonly BindableProperty LegendLabelProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Color
Gets or sets the color for mapping of map shapes. It customizes the color value for specified value path.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
LegendLabel
Gets or sets the name of legendLabel for maps. It provides information about the maps. You can customize the legend label.
Declaration
public string LegendLabel { get; set; }
Property Value
Type |
---|
System.String |