Home > Software design >  How to Access WinUI Generic.xaml file?
How to Access WinUI Generic.xaml file?

Time:09-17

How can I access the generic.xaml file for winui 2.6? In some controls, Microsoft has used the following brushes

CardStrokeColorDefaultBrush
CardBackgroundFillColorDefaultBrush

I found the following files

C:\Program Files (x86)\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\10.0.19041.0\Generic

generic.xaml
themeresource.xaml

but These brushes are not available

CodePudding user response:

you can find commonStyles here

https://github.com/microsoft/microsoft-ui-xaml/blob/5673d0ca4b6b0e4645637bbab37f48f4825baec3/dev/CommonStyles/Common_themeresources_any.xaml
  • Related