Class CustomDataSymbol
Represent the CustomDataSymbol class in the SfMap. It is inherited from Windows.UI.Xaml.DependencyObject
Inheritance
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.UWP.dll
Syntax
public class CustomDataSymbol : DependencyObject
Remarks
CustomDataSymbol is used to present the custom symbols in the map. Custom Symbols are generated from CustomDataSource of ShapeFileLayer
This class was internally used for creating custom data symbols.
CustomDataSymbols are internally generated and added into the CustomDataSymbols of ShapeFileLayer
Constructors
CustomDataSymbol()
Initializes a new instance of the CustomDataSymbol class.
Declaration
public CustomDataSymbol()
Fields
CustomDataSymbolTemplateProperty
Gets or sets the value for CustomDataSymbolTemplateProperty
Declaration
public static readonly DependencyProperty CustomDataSymbolTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DataProperty
Gets or sets the value for data property
Declaration
public static readonly DependencyProperty DataProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LabelProperty
Gets or sets the value for label property
Declaration
public static readonly DependencyProperty LabelProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LatitudeProperty
// Using a DependencyProperty as the backing store for Latitude. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LatitudeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LongitudeProperty
// Using a DependencyProperty as the backing store for Longitude. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LongitudeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MarginProperty
Gets or sets the value for margin property.
Declaration
public static readonly DependencyProperty MarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
CustomDataSymbolTemplate
Gets the Template for the custom data symbols of the shape file layer.
Declaration
public DataTemplate CustomDataSymbolTemplate { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DataTemplate | Type :Windows.UI.Xaml.DataTemplate |
Remarks
CustomDataSymbolTemplate is read only property and used to internally set the template for custom data symbols.
Data
Gets the DataContext for the CustomDataSymbol .
Declaration
public object Data { get; }
Property Value
Type | Description |
---|---|
System.Object | Type :System.Object |
Remarks
This is the read only property to internally set the under bound object value for the CustomDataSymbol.
Label
Gets or sets the value for label
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
Latitude
Gets the Latitude values for CustomDataSymbol.
Declaration
public double Latitude { get; }
Property Value
Type | Description |
---|---|
System.Double | Type :System.Double |
Remarks
CustomDataSymbols are arranged based on Latitude and Longitude values. This property used to set the Latitude of the CustomDataSymbol.
Longitude
Gets Longitude values for CustomDataSymbol.
Declaration
public double Longitude { get; }
Property Value
Type | Description |
---|---|
System.Double | Type :System.Double |
Remarks
CustomDataSymbols are arranged based on Longitude and Longitude values. This property used to set the Longitude of the CustomDataSymbol.
Margin
Gets the margin for custom data symbol.
Declaration
public Thickness Margin { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Thickness | Type :Windows.UI.Xaml.Thickness |
Remarks
This is read only property. This property is used to internally set the margin for the CustomDataSymbols.