naxstarter.blogg.se

Wpf extended menu
Wpf extended menu












wpf extended menu wpf extended menu

It can be shared between the number // of the map shapes.

wpf extended menu

This one by using the ExtendedData and the ExtendedPropertySet classes. In case you are manually generating the shapes inside a layer, you have to manually wrap and pass the data to the ExtendedData property. To learn more about the MapShapeReader object read here. This way you can directly use it where needed. When generating shapes automatically from the various data formats via MapShapeReader, the Extended Data gets automatically extracted from the files and stored inside the ExtendedData property. To access a value you have to use the property name as a key. The ExtendedData represents a set of properties and their values. To learn more about the MapShape objects read here. Later this data can be accessed through the ExtendedData property. For example, if a shape represents a country on the map, you can use the ExtendedData property to attach information about the country such as Area, Capitol, Population etc. It allows you to attach additional data to the shape. The MapShape object exposes a property called ExtendedData.














Wpf extended menu