skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ExtendedData

Represents map shape extended data.

Inheritance
System.Object
ExtendedData
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public class ExtendedData : Object, INotifyPropertyChanged

Constructors

ExtendedData(ExtendedPropertySet)

Initializes a new instance of the ExtendedData class.

Declaration
public ExtendedData(ExtendedPropertySet propertySet)
Parameters
ExtendedPropertySet propertySet

Set of the extended properties this extended data can operates with.

Properties

Data

Return reference to self. This property can be used within Binding in XAML to implement binding which reflect extended property changes.

Declaration
public ExtendedData Data { get; }
Property Value
ExtendedData

Item[String]

Gets value from object using format string.

Declaration
public object this[string format] { get; set; }
Parameters
System.String format

Format string.

Property Value
System.Object

Formatted value.

Examples

Format string can be specified in a few different ways: as simple name of the extended property, as formatted extended property, or as format string which can use number of the extended properties.

// Using of the single extended property name.
string value = extendedData["CNTRY_NAME"];

// Using of the formatted extended property.
// The '|' character is used to separate extended property name and its output format.
string value = extendedData["SUM_SQMI_A|F2"];

// Format string with number of the extended properties.
string value = extendedData["{CNTRY_NAME} Miles: {SUM_SQMI_A|F2}, KM: {SUM_SQKM_A|F1}"];
' Using of the single extended property name.
Dim value as String = extendedData("CNTRY_NAME")

' Using of the formatted extended property.
' The '|' character is used to separate extended property name and its output format.
Dim value as String = extendedData("SUM_SQMI_A|F2")

 Format string with number of the extended properties.
Dim value as String = extendedData("{CNTRY_NAME} Miles: {SUM_SQMI_A|F2}, KM: {SUM_SQKM_A|F1}")

Item[String, String]

Gets value from object using format string.

Declaration
public object this[string format, string lang] { get; }
Parameters
System.String format

Format string.

System.String lang

Language.

Property Value
System.Object

Formatted value.

Examples

Format string can be specified in a few different ways: as simple name of the extended property, as formatted extended property, or as format string which can use number of the extended properties.

// Using of the single extended property name.
string value = extendedData["CNTRY_NAME"];

// Using of the formatted extended property.
// The '|' character is used to separate extended property name and its output format.
string value = extendedData["SUM_SQMI_A|F2"];

// Format string with number of the extended properties.
string value = extendedData["{CNTRY_NAME} Miles: {SUM_SQMI_A|F2}, KM: {SUM_SQKM_A|F1}"];
' Using of the single extended property name.
Dim value as String = extendedData("CNTRY_NAME")

' Using of the formatted extended property.
' The '|' character is used to separate extended property name and its output format.
Dim value as String = extendedData("SUM_SQMI_A|F2")

 Format string with number of the extended properties.
Dim value as String = extendedData("{CNTRY_NAME} Miles: {SUM_SQMI_A|F2}, KM: {SUM_SQKM_A|F1}")

PropertySet

Gets set of the extended properties this extended data can operates with.

Declaration
public ExtendedPropertySet PropertySet { get; }
Property Value
ExtendedPropertySet

Methods

Clone()

Clones current instance.

Declaration
public ExtendedData Clone()
Returns
ExtendedData

The clone.

GetPropertyBinding(String)

Gets binding to the specified extended property.

Declaration
public Binding GetPropertyBinding(string propertyName)
Parameters
System.String propertyName

Name of the property.

Returns
System.Windows.Data.Binding

Binding.

GetValue(String)

Gets value of the property.

Declaration
public object GetValue(string propertyName)
Parameters
System.String propertyName

Name of the property.

Returns
System.Object

Property value.

HasValue(String)

Gets value which indicates whether extended data contains specified property.

Declaration
public bool HasValue(string propertyName)
Parameters
System.String propertyName

Name of the property.

Returns
System.Boolean

True - when extended data contains specified property. Otherwise - false.

SetDefaults()

Set default value to every extended property.

Declaration
public void SetDefaults()

SetValue(String, Object)

Sets value of the property.

Declaration
public void SetValue(string propertyName, object propertyValue)
Parameters
System.String propertyName

Name of the property.

System.Object propertyValue

Value to be set.

SetValue(String, Object, Boolean)

Sets value of the property.

Declaration
public void SetValue(string propertyName, object propertyValue, bool fireEvent)
Parameters
System.String propertyName

Name of the property.

System.Object propertyValue

Value to be set.

System.Boolean fireEvent

Indicates whether the layout changed event should be fired.

Events

ExtendedPropertyChanged

Occurs when extended property changed in the extended data.

Declaration
public event EventHandler<ExtendedPropertyChangedEventArgs> ExtendedPropertyChanged
Event Type
System.EventHandler<ExtendedPropertyChangedEventArgs>

PropertyChanged

Occurs when property changed. Implemented for binding.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.