menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapItem - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapItem

    Used to represent the MapItem in the SfMap.

    Inheritance
    System.Object
    MapItem
    Namespace: Syncfusion.UI.Xaml.Maps
    Assembly: Syncfusion.SfMaps.UWP.dll
    Syntax
    public class MapItem : DependencyObject
    Remarks

    This class is used to represent the MapItems which are generated from the ItemsSource of the ShapeFileLayer.Collection of this objects of this class will be added internally in MapItems of ShapeFileLayer

    Constructors

    MapItem()

    Initializes a new instance of the MapItem class.

    Declaration
    public MapItem()
    Remarks

    Create the new instance for the MapItem.

    Fields

    DataProperty

    // Using a DependencyProperty as the backing store for DataItem. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DataProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    DbfDataProperty

    // Using a DependencyProperty as the backing store for DBFData. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DbfDataProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    MapItemValueProperty

    // Using a DependencyProperty as the backing store for SymbolValue. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MapItemValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    MarginProperty

    // Using a DependencyProperty as the backing store for SymbolMargin. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MarginProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SettingProperty

    // Using a DependencyProperty as the backing store for Setting. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SettingProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    TemplateProperty

    // Using a DependencyProperty as the backing store for SymbolTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TemplateProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    Data

    Gets the Under bound object value for the MapItem

    Declaration
    public object Data { get; }
    Property Value
    Type Description
    System.Object

    Type :System.Object

    Remarks

    Data is the read only property to get the under bound object for the MapItem. Value for this property will be set internally.

    DbfData

    Get the DBFData value

    Declaration
    public Dictionary<string, string> DbfData { get; }
    Property Value
    Type
    System.Collections.Generic.Dictionary<System.String, System.String>

    MapItemValue

    Gets the display value on the MapItems.

    Declaration
    public object MapItemValue { get; }
    Property Value
    Type Description
    System.Object

    Type :System.Object

    Remarks

    MapItemValue is the read only property to get the display value of the MapItem. Value for this property will be set internally.

    Margin

    Gets the margin for the MapItem in the map.

    Declaration
    public Thickness Margin { get; }
    Property Value
    Type Description
    Windows.UI.Xaml.Thickness

    Type :Windows.UI.Xaml.Thickness

    Remarks

    Margin property is used to arrange the MapItems on the map.

    Setting

    Gets the Customization Setting for the MapItem.

    Declaration
    public MapItemSetting Setting { get; }
    Property Value
    Type Description
    MapItemSetting

    Type :MapItemSetting

    Remarks

    This property is read only property. Value for this property will be internally set from MapItemSetting of ShapeFileLayer. Setting will be applied on map items when default template is applied on the map item.

    Template

    Gets the Template for the MapItem.

    Declaration
    public DataTemplate Template { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.DataTemplate

    Type :Windows.UI.Xaml.DataTemplate

    Remarks

    Template is the read only property to get the template for MapItem. Value for this property is set internally from "ItemsTemplate" of the ShapeFileLayer

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved