# Binding to object collection and attributes

**URL:** <https://community.thinkgeo.com/t/binding-to-object-collection-and-attributes/8019>\
**Category:** WPF\
**Created:** [May 17, 2016, 11:28am UTC](https://community.thinkgeo.com/t/binding-to-object-collection-and-attributes/8019 "2016-05-17T11:28:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moh\_scorpion](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/m/7ba0ec/32.png) [@moh\_scorpion](https://community.thinkgeo.com/u/moh_scorpion)\
**Post date:** [May 17, 2016, 11:28am UTC](https://community.thinkgeo.com/t/binding-to-object-collection-and-attributes/8019/1 "2016-05-17T11:28:36Z")

</div>

hi  
i am writing a research application (WPF) for showing nautical navigation charts, i was testing several GIS frameworks when i found think geo , i have the following questions:  
1- can i bind features i wanna show on a layers to an object collection in memory?  
2- can i add custom style to draw these features and use object’s attributes in them, like rotation and size?  
thnx

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [May 18, 2016, 3:22am UTC](https://community.thinkgeo.com/t/binding-to-object-collection-and-attributes/8019/2 "2016-05-18T03:22:49Z")

</div>

Hi Moh,

1. We don’t use “binding” here, you can added your features into the layer, then render them.
2. You can override custom style to make your features rendered follow the attributes in them.

You can download our product center and get a lot of samples from it.

Regards,

Don

---

<div class="post-metadata">

**Author:** ![moh\_scorpion](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/m/7ba0ec/32.png) [@moh\_scorpion](https://community.thinkgeo.com/u/moh_scorpion)\
**Post date:** [May 23, 2016, 2:43pm UTC](https://community.thinkgeo.com/t/binding-to-object-collection-and-attributes/8019/3 "2016-05-23T14:43:41Z")

</div>

but binding is one of main points of using WPF.  
is there any sample that i can use for adding my custom made objects, as features to map control?  
thanks for your help

---

<div class="post-metadata">

**Author:** ![Peter](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/peter/32/19042_2.png) [@Peter](https://community.thinkgeo.com/u/Peter)\
**Post date:** [May 24, 2016, 12:26am UTC](https://community.thinkgeo.com/t/binding-to-object-collection-and-attributes/8019/4 "2016-05-24T00:26:25Z")

</div>

Hi Moh,

Please refer to [http://wiki.thinkgeo.com/wiki/map\_suite\_wpf\_desktop\_edition\_project\_templates](http://wiki.thinkgeo.com/wiki/map_suite_wpf_desktop_edition_project_templates), the samples show how to use binding work with WpfMap.

Any questions please let us know.

Thanks,  
Peter
