﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><pubDate>Fri, 18 Feb 2011 13:04:33 GMT</pubDate><dc:creator>MarkDavison</dc:creator><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;Thank you so much for taking the time to create that sample. It is perfect, exactly what I needed to see.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item><item><title>Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><pubDate>Thu, 17 Feb 2011 04:55:59 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I created a simple sample based on your scenario. In the sample, UXFrame; GlassLabel; and UXButton are added into UXPage1.xaml. The UXButton is used to load Home.xaml into the UXFrame. The Content property of GlassLabel is bind to a ViewModel property named GlassLabelTitle. By default, the GlassLabel’s content displays “Original Content”. After Home.xaml is loaded, the GlassLabel’s content displays “Content after modified”.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please kindly check the attached simple sample and let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><pubDate>Fri, 11 Feb 2011 10:26:27 GMT</pubDate><dc:creator>MarkDavison</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Ok, so at the risk of straying into general silverlight concepts, do you have an example of being able to have glasslabel bound to a property in a ViewModel and then updating this from a silverlight page embedded in a UXFrame?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item><item><title>Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><pubDate>Fri, 11 Feb 2011 01:11:32 GMT</pubDate><dc:creator>jimmyps</dc:creator><description>&lt;p&gt;Hi Mark,&lt;/p&gt;&lt;p&gt;Although the above approach may work, it's not a recommended design pattern because you're tightly coupled to a specific UI.&lt;/p&gt;
&lt;p&gt;The best way to handle the communication is through the ViewModel. You can have the GlassLabel bound to a property in the ViewModel, let's say "{Binding Title}".&lt;/p&gt;
&lt;p&gt;Later, in your child page (loaded inside the UXFrame), you can access the ViewModel through the DataContext and change the Title as necessary in the ViewModel. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;For example, setting viewModel.Title = "New Title" in the ViewModel would automatically update the View elements bound to it.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;Jimmy &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><pubDate>Thu, 10 Feb 2011 05:46:53 GMT</pubDate><dc:creator>MarkDavison</dc:creator><description>&lt;p&gt;I have worked this out. I can use the following:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;         Dim frame As UXFrame = UXFrame.GetPrimaryNavigator(Me.GetRootVisual)&lt;br /&gt;        Dim glTitle = frame.FindNameDeep("SampleControl2")&lt;br /&gt;glTitle.Content = "A new title"&lt;/p&gt;
</description></item><item><title>Communication</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Communication/</link><pubDate>Wed, 09 Feb 2011 15:23:09 GMT</pubDate><dc:creator>MarkDavison</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am hoping someone can help point me in the right direction for this.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have a page with a GlassLabelon it. Also on this page is a UXFrame. When I load a page into the UXFrame I need to change the content of the GlassLabel. Can anyone tell me how to get the GlassLabel when I am in the page loaded into the UXFrame?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item></channel></rss>