<div>But, I am just doing binding between elements. Is this still required. If you see my XAML I am just binding the value of a slider to the fontsize of a textblock. I am not sure if the Ironpython code hits that path.</div>
<div> </div>
<div>Thanks,</div>
<div>Shyam<br><br></div>
<div class="gmail_quote">On Wed, Dec 30, 2009 at 10:02 PM, Lukas Cenovsky <span dir="ltr"><<a href="mailto:cenovsky@bakalari.cz">cenovsky@bakalari.cz</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">Shyam Gopale wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br>I am trying out some sample Silverlight code with IronPython and I found that the data binding does not work properly.<br>
The app.xaml is as below:<br><UserControl x:Class="System.Windows.Controls.UserControl"<br>xmlns="<a href="http://schemas.microsoft.com/client/2007" target="_blank">http://schemas.microsoft.com/client/2007</a>"<br>
xmlns:x="<a href="http://schemas.microsoft.com/winfx/2006/xaml" target="_blank">http://schemas.microsoft.com/winfx/2006/xaml</a>"><br><Grid x:Name="layout_root" Background="White"><br>
<StackPanel><br><Slider x:Name="sliderFontSize" Margin="3" Minimum="1" Maximum="40" Value="10" /><br><TextBlock x:Name="lblMessage" Text="Hello World" Margin="5" FontSize="{Binding ElementName=sliderFontSize, Path=Value,Mode=TwoWay}"></TextBlock><br>
<Button x:Name="cmdClickMe" Content="Click Me!" Margin="5"></Button><br></StackPanel><br></Grid><br></UserControl><br>This XAML when used in a C# Silverlight app reflects the correct data binding behaviour but does not work when used with IronPython and Chiron. Mainly the font size of the text block is not updated.<br>
Does anyone have any idea about this?<br></blockquote></div></div>Check my blog about binding in Silverlight:<br><a href="http://gui-at.blogspot.com/2009/11/inotifypropertychanged-and-databinding.html" target="_blank">http://gui-at.blogspot.com/2009/11/inotifypropertychanged-and-databinding.html</a><br>
<font color="#888888"><br>--<br>-- Lukáš</font>
<div>
<div></div>
<div class="h5"><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</div></div></blockquote></div><br>