Esempio n. 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::Lab_08.Model.NewsItem)newDataRoot;
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::Lab_08.Model.NewsItem obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // MainPage.xaml line 90
         if (!isobj6TextDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj6, obj != null ? obj.ToString() : null, null);
         }
         // MainPage.xaml line 91
         if (!isobj7TextDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj7, obj != null ? obj.ToString() : null, null);
         }
         // MainPage.xaml line 92
         if (!isobj8TextDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj8, obj != null ? obj.ToString() : null, null);
         }
     }
 }