在WPF里可以将Style写到其他dll里
使用的时候可以在Window的Resouces里写:
<ResourceDictionary Source="pack://application:,,,/AssemblyName;component/Styles.xaml"/>
也可以这样写:
<ResourceDictionary Source="/AssemblyName;component/Styles.xaml"/>
转载请注明来源本文地址:https://www.tuituisoft/blog/3196.html