Sunday, January 9, 2011

Explain One time binding in silverlight.

-->In one time binding data flows from object to the UI only once.

--> There is no tracking mechanism to update data on either side.

-->One time binding has marked performance improvement as compared to the previous two bindings discussed.

-->This binding is a good choice for reports where the data is loaded only once and viewed.

<TextBox x:Name="txtEnterAge" Text="{Binding Path=Age, Mode=OneTime}" Height="30" Width="150" VerticalAlignment="Center" HorizontalAlignment="Center"></TextBox>

No comments:

Post a Comment