Sometime we need to display different values on user element than what is stored in corresponding data bind element. Such as we may store the status code in the form of integer or enum representing different states, but display some user defined string. 644 more words
Tags » Datatemplate
- Very basically a ControlTemplate describes how to display a Control while a DataTemplate describes how to display Data.
- Control Template: Represents control style. Data Template: Represents data style(How would you like to show your data). 335 more words