This question is locked. New answers and comments are not allowed.
I have a problem with dynamic xaml loading in WP7 application.
Dashboard content = XamlReader.Load(PathToXamlFile) as Dashboard;
Xaml file code:
<g:Dashboard xmlns:g="http://schemas.xxx.com/mobile" <g:Dashboard.ObserverDefinitions> <g:DoubleObserver x:Name="DoubleName" EntityName="entName" UpdateRate="1000" Value="12.3"/></g:Dashboard.ObserverDefinitions> <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding ElementName=DoubleName, Path=Value}"/></Grid> </g:Dashboard>
Double observer implements INotifyPropertyChanged. While using WPF for desktop application, after dynamic loading, PropertyChangedEvent is set properly. However on WP7 it is null.
Have You got any idea, if there is an workaround for this problem?