Xamarin.Forms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorMapping - Xamarin.Forms API Reference | Syncfusion ColorMapping class, and set required properties. ">

    Show / Hide Table of Contents

    Class ColorMapping

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

    Inheritance
    System.Object
    ColorMapping
    EqualColorMapping
    RangeColorMapping
    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 Description
    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 Description
    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 Description
    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 Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved