// Update methods for each path node used in binding steps. private void Update_(global::GeetApp.Song obj, int phase) { AlbumPage_obj4_Bindings bindings = this; if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_Title(obj.Title, phase); this.Update_Artist(obj.Artist, phase); this.Update_DurationStr(obj.DurationStr, phase); } } }
public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target) { global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null; switch (connectionId) { case 4: // AlbumPage.xaml line 30 { global::Windows.UI.Xaml.Controls.Grid element4 = (global::Windows.UI.Xaml.Controls.Grid)target; AlbumPage_obj4_Bindings bindings = new AlbumPage_obj4_Bindings(); returnValue = bindings; bindings.SetDataRoot(element4.DataContext); element4.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element4, bindings); } break; } return(returnValue); }