Exemplo n.º 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::Assignment.ViewModels.NewsViewModel)newDataRoot;
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::Assignment.ViewModels.NewsViewModel obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_Headline(obj.Headline, phase);
             this.Update_FullText(obj.FullText, phase);
         }
     }
 }
Exemplo n.º 3
0
 private void Update_News1(global::Assignment.ViewModels.NewsViewModel obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // SectionView.xaml line 84
         if (!isobj11ContentDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_ContentControl_Content(this.obj11, obj, null);
         }
     }
 }