Class ShapeSetting
Represents ShapeSetting. To render this, create an instance of the ShapeSetting class, and set required properties.
Inheritance
Namespace: Syncfusion.SfMaps.XForms
Assembly: Syncfusion.SfMaps.XForms.dll
Syntax
public class ShapeSetting : Element, IThemeElement
Constructors
ShapeSetting()
Initializes a new instance of the ShapeSetting class to render the shape settings of the maps.
Declaration
public ShapeSetting()
Fields
ColorMappingsProperty
Gets or sets a value to the color mapping property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty ColorMappingsProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
SelectedShapeColorProperty
Gets or sets a value to the selected shape color property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty SelectedShapeColorProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
SelectedShapeStrokeProperty
Gets or sets a value to the selected shape stroke property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty SelectedShapeStrokeProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
SelectedShapeStrokeThicknessProperty
Gets or sets a value to the selected shape stoke thickness property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty SelectedShapeStrokeThicknessProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ShapeColorValuePathProperty
Gets or sets a value to the shape color value path property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty ShapeColorValuePathProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ShapeFillProperty
Gets or sets a valueto the shape file property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty ShapeFillProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ShapeStrokeProperty
Gets or sets a value to the shape stoke property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty ShapeStrokeProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ShapeStrokeThicknessProperty
Gets or sets a value to the shape stroke thickness property of the shape settings in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty ShapeStrokeThicknessProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ShapeValuePathProperty
Gets or sets a value to the shape value path property of the shape setting in the maps. This is a bindable property.
Declaration
public static readonly BindableProperty ShapeValuePathProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
Properties
ColorMappings
Gets or sets the colorMappings value from the maps. It represents the color given for the shapes in the shape layer.
Declaration
public ObservableCollection<ColorMapping> ColorMappings { get; set; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<ColorMapping> |
SelectedShapeColor
Gets or sets the selection color for shapes in the maps. The default value is dark gray for the selected shape.
Declaration
public Color SelectedShapeColor { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.Color |
SelectedShapeStroke
Gets or sets the border color of the selected shape in the maps. The default value is white for the selected shape stroke.
Declaration
public Color SelectedShapeStroke { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.Color |
SelectedShapeStrokeThickness
Gets or sets the border thickness of the selected shape in the maps. The default value is 0.5 for the selected shape stroke thickness.
Declaration
public double SelectedShapeStrokeThickness { get; set; }
Property Value
| Type |
|---|
| System.Double |
ShapeColorValuePath
Gets or sets the field value to be fetched from data for each shape used to determine the shape color in the shape layer of the maps.
Declaration
public string ShapeColorValuePath { get; set; }
Property Value
| Type |
|---|
| System.String |
ShapeFill
Gets or sets the fill color of the shapes in the maps. It represents the single color of the shapes in the shape layer.
Declaration
public Color ShapeFill { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.Color |
ShapeStroke
Gets or sets the shape stroke of the shapes in the maps. The default color of the shape stroke is white.
Declaration
public Color ShapeStroke { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.Color |
ShapeStrokeThickness
Gets or sets the border thickness of the shapes in the maps. The default value of the shape stroke is 0.5.
Declaration
public double ShapeStrokeThickness { get; set; }
Property Value
| Type |
|---|
| System.Double |
ShapeValuePath
Gets or sets the field value to be fetched from data for each shape in the shape layer of the maps.
Declaration
public string ShapeValuePath { get; set; }
Property Value
| Type |
|---|
| System.String |