For example:
The following is Page.xaml in Silverlight 2 project.
<UserControl
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="RET.Page"
Width="640" Height="480">
<Grid x:Name="LayoutRoot" Background="White" >
<Button x:Name = "myBtn" Content="Button1" />
</Grid>
</UserControl>
Are you saying that you are able to get the width of "myBtn" one from Javascript?
For example:
function JSFunction(){
myBtn.width = 10;
}
I don't think it would work. If it works, it's something new for me.
(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)
Best Regards,
Michael Sync
Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed