public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::UWPClassLibrary.MyPage)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::UWPClassLibrary.MyPage obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_WPFMessage(obj.WPFMessage, phase); } } }
private void MyUWPPage_ChildChanged(object sender, EventArgs e) { // Hook up x:Bind source global::Microsoft.Toolkit.Wpf.UI.XamlHost.WindowsXamlHost windowsXamlHost = sender as global::Microsoft.Toolkit.Wpf.UI.XamlHost.WindowsXamlHost; global::UWPClassLibrary.MyPage myUWPPage = windowsXamlHost.GetUwpInternalObject() as global::UWPClassLibrary.MyPage; if (myUWPPage != null) { myUWPPage.WPFMessage = this.WPFMessage; } }