O'Reilly logo

XAML Developer Reference by Ashish Ghoda, Mamta Dalal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Binding Modes

Apart from the default binding, which is one-way, you can also configure binding to be two-way, one-way to source, and so forth. You can do this by specifying the Mode property, as shown in Table 8-1.

Table 8-1. Binding Modes

Mode

Description

OneWay

This causes changes to the source property to automatically update the target property but the source does not get changed.

TwoWay

This causes changes in the source or target to automatically update the other.

OneWayToSource

This causes changes to the target property to automatically update the source property but the target does not get changed.

OneTime

This causes only the first-time change to the source property to automatically update the target property but the source does not get changed, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required