Class
ExtendedData

Represents map shape extended data.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class ExtendedData : INotifyPropertyChanged

Inheritance: objectExtendedData

Implements: INotifyPropertyChanged

Constructors

ExtendedData(ExtendedPropertySet)

Initializes a new instance of the ExtendedData class.

Declaration

cs-api-definition
public ExtendedData(ExtendedPropertySet propertySet)

Parameters

propertySet

ExtendedPropertySet

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

cs-api-definition
public ExtendedData Data { get; }

Property Value

ExtendedData

PropertySet

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

Declaration

cs-api-definition
public ExtendedPropertySet PropertySet { get; }

Property Value

ExtendedPropertySet

this[string, string]

Gets value from object using format string.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1023:IndexersShouldNotBeMultidimensional")]
public object this[string format, string lang] { get; }

Parameters

format

string

Format string.

lang

string

Language.

Property Value

object

Formatted value.

this[string]

Gets value from object using format string.

Declaration

cs-api-definition
public object this[string format] { get; set; }

Parameters

format

string

Format string.

Property Value

object

Formatted value.

Methods

Clone()

Clones current instance.

Declaration

cs-api-definition
public ExtendedData Clone()

Returns

ExtendedData

The clone.

GetPropertyBinding(string)

Gets binding to the specified extended property.

Declaration

cs-api-definition
public Binding GetPropertyBinding(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

Binding

Binding.

GetValue(string)

Gets value of the property.

Declaration

cs-api-definition
public object GetValue(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

object

Property value.

HasValue(string)

Gets value which indicates whether extended data contains specified property.

Declaration

cs-api-definition
public bool HasValue(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

bool

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

SetDefaults()

Set default value to every extended property.

Declaration

cs-api-definition
public void SetDefaults()

SetValue(string, object)

Sets value of the property.

Declaration

cs-api-definition
public void SetValue(string propertyName, object propertyValue)

Parameters

propertyName

string

Name of the property.

propertyValue

object

Value to be set.

SetValue(string, object, bool)

Sets value of the property.

Declaration

cs-api-definition
public void SetValue(string propertyName, object propertyValue, bool fireEvent)

Parameters

propertyName

string

Name of the property.

propertyValue

object

Value to be set.

fireEvent

bool

Indicates whether the layout changed event should be fired.

Events

ExtendedPropertyChanged

Occurs when extended property changed in the extended data.

Declaration

cs-api-definition
public event EventHandler<ExtendedPropertyChangedEventArgs> ExtendedPropertyChanged

Event Value

EventHandler<ExtendedPropertyChangedEventArgs>

PropertyChanged

Occurs when property changed. Implemented for binding.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged