xaml-coding-guidelines icon indicating copy to clipboard operation
xaml-coding-guidelines copied to clipboard

RFC - XA4003 - When defining a SolidColorBrush resource, always define a Color resource as well

Open cmaneu opened this issue 10 years ago • 3 comments

I request comments for the following rule:

XA4003 - When defining a SolidColorBrush resource, always define a Color resource as well

cmaneu avatar May 12 '14 15:05 cmaneu

Yep, agreed. I do this with all the apps I create.

ScottIsAFool avatar May 13 '14 14:05 ScottIsAFool

I agreed, for every brush a Color as a resource.

tbayart avatar May 14 '14 12:05 tbayart

This should be the case also for gradient or linear brush.

MMWPF avatar Jan 13 '16 12:01 MMWPF