
MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide
By :

Data binding, at its core, provides a simple way for a Silverlight developer to work with data by separating the display module from the data management module. By establishing a connection between data objects from the backend and the UI layer, you get a mechanism that lets you update UI elements when data changes, or the other way around without the use of code.
The bound data can flow in three distinctive modes as follows:
OneTime:
The target of the bind operation will update with the source only when it's created. For example, if we have a TextBlock
element bound to a property, the TextBlock
element will only display the value the property had when TextBlock
was rendered. TextBlock
won't change its value even if the backend property changes later on.
OneWay:
The target of the bind operation will update with the source every time the source changes. Using the same example as before, if the TextBlock
element is bound to a property using the one-way binding...
Change the font size
Change margin width
Change background colour