Windows phone 7 来自linq结果的页面标题

Windows phone 7 来自linq结果的页面标题,windows-phone-7,Windows Phone 7,如何将pagetitle绑定到linq结果?如果我有此代码: var data = from query in loadedData.Descendants("article") select new article { Title = (string)query.Element("title").Value, SubTi

如何将pagetitle绑定到linq结果?如果我有此代码:

    var data = from query in loadedData.Descendants("article")
                   select new article
                   {
                       Title = (string)query.Element("title").Value,
                       SubTitle = (string)query.Element("subtitle").Value,
                       Content = (string)query.Element("content").Value
                   };
如果我使用:

    <TextBlock x:Name="PageTitle" Text="{Binding Title}" Margin="9,-7,0,0" Style="    {StaticResource PhoneTextTitle1Style}" Foreground="White" />


它不起作用|

你认为这到底能起什么作用?要么您遗漏了很多内容(DataContext、ViewModel、Title属性、实现INotifyPropertyChanged等),要么我根本看不出这是如何工作的。