Resource A = Resource B??
WPF
2
Posts
2
Posters
0
Views
1
Watching
-
Is it possible to assign a resource to another resource? For example, if I have a SolidColorBrush named MyBursh01, can I make a MyBrush02 that has the same values as MyBrush01, or can I make a Rectangle named Rect2 and make it = Rect1? I am referring to making it in XAML not C# Thanks
-
Is it possible to assign a resource to another resource? For example, if I have a SolidColorBrush named MyBursh01, can I make a MyBrush02 that has the same values as MyBrush01, or can I make a Rectangle named Rect2 and make it = Rect1? I am referring to making it in XAML not C# Thanks
You could always use BasedOn to do this when it comes to using one style as a basis for another.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith