Class CustomDataSymbol
Represent the CustomDataSymbol class in the SfMap. It is inherited from System.Windows.DependencyObject
Inheritance
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.WPF.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 |
---|
System.Windows.DependencyProperty |
DataProperty
Gets or sets the value for data property
Declaration
public static readonly DependencyProperty DataProperty
Field Value
Type |
---|
System.Windows.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 |
---|
System.Windows.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 |
---|
System.Windows.DependencyProperty |
MarginProperty
Gets or sets the value for margin property.
Declaration
public static readonly DependencyProperty MarginProperty
Field Value
Type |
---|
System.Windows.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 |
---|---|
System.Windows.DataTemplate | Type :System.Windows.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.
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 |
---|---|
System.Windows.Thickness | Type :System.Windows.Thickness |
Remarks
This is read only property. This property is used to internally set the margin for the CustomDataSymbols.