简体   繁体   中英

newbie with mahapps, Datagrids look with no style

I'm just started working with the MahApps.Metro theme, and I've noticed that datagrids look as usual, I've tried to add this line to the xaml:

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.DataGrid.xaml" />

but I get this message: An error occurred while finding the resource dictionary pack://application:,,,/MahApps.Metro;component/Styles/Controls.DataGrid.xaml

what am I doing wrong?

尝试仅使用:

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml"/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM