Reference to another Brush from one Brush in xaml?

No way I know of to copy the brush itself, but as you say you can copy properties of the brush: SolidColorBrush x:Key="FolderColor" Color="{Binding Color, Source={StaticResource PanelBackgroundBrush}} The above should have the same effect.

No way I know of to copy the brush itself, but as you say you can copy properties of the brush: The above should have the same effect.

You can do something like this: Red (Note that you could specify the regular Color properties in the Color). However, if you are just using the same color with multiple SolidColorBrush objects, I guess I would question why you would do this, unless it is for some future flexibility. Otherwise, you are just creating extra work and readability issues for yourself.

So that both "PanelBackgroundBrush" and "FolderColor" are using color white. I understand this can be somehow achieved by using a common Color definition.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions