I have a collection of the object say MyModel.cs. The collection is called Some
. In MyModel it has a property Color which is Brush type.
The Color is Red for all now.
Now I have
<MyControl: x:Name="control1" ItemsSource="{Binding Some}" Stroke="Red">
But you see I hardcode the stroke. What I want is something like
Stroke = "{Binding Some.Color}"
How?