Re: can't GetValue..
I found a temporary solution. You can dynamically populate the SolidColorBrush's Color Property using Javascript. Here is an example:
<Canvas xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Canvas Width="300" Height="300" MouseLeftButtonDown="splitData" Background="#aaaaaa">
<Rectangle x:Name="rect1" Width="300" Height="300" Fill="Black" />
</Canvas>
</Canvas>
Say you want to access the Fill Attribute from the Rectangle Instead of hard coding "Black" into the Fill Attribute, populate it dynamically like so:
function init(sender){
var host = document.getElementById("mySilverlightPlugin");
var root = host.Content.Root;
var rectangleFill = "Black";
//root.findName("rect1").Fill = rectangleFill;
}
Then you can access rectangleFill anytime. Until you find an easier way, this is what i'd use.
Hope this helps.