Binding to a non string - possible?
Hey all,
If I have something like this in my data template :-
<Rectangle Fill="{Binding Path=Color}" . . .
And Color comes from :-
private Color color;
public Color Color
{
get { return color; }
set { color = value; }
}
It won't work. But if I change the type from Color to String, it works. That's sorta ugly. Is this a Binding restriction that the type can only be String?
Thanks in advance.

