Can you explain One time binding?

 Posted by ArticlesMaint on 9/23/2009 | Category: Silverlight Interview questions | Views: 2958

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>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response