星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SkinDictionary_TechnologyBlue.xaml 21KB

пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  2. <!-- Title背景 -->
  3. <ImageBrush x:Key="BackTitle" ImageSource="/SkinImages/TechnologyBlue/HM_BJTitle.png" />
  4. <!-- 工具栏背景 -->
  5. <ImageBrush x:Key="BackTool" ImageSource="/SkinImages/TechnologyBlue/HM_BJTool.png" />
  6. <!-- 笔状态图标 -->
  7. <Style x:Key="TitlePenState" TargetType="{x:Type Image}">
  8. <Setter Property="Source" Value="/SkinImages/TechnologyBlue/HM_PenState.png" />
  9. </Style>
  10. <!-- 笔状态颜色 -->
  11. <Style x:Key="PenStateColor" TargetType="TextBlock">
  12. <Setter Property="Foreground" Value="#FFFFFFFF" />
  13. </Style>
  14. <!-- 时间图标 -->
  15. <Style x:Key="TitleLZTimeImg" TargetType="{x:Type Image}">
  16. <Setter Property="Source" Value="/SkinImages/TechnologyBlue/HM_LZIMG.png" />
  17. </Style>
  18. <!-- LOGO颜色 -->
  19. <Style x:Key="LogoColor" TargetType="TextBlock">
  20. <Setter Property="Foreground" Value="#FFFFFFFF" />
  21. </Style>
  22. <!-- 消息颜色 -->
  23. <Style x:Key="TxbMesColor" TargetType="TextBlock">
  24. <Setter Property="Foreground" Value="#FFFFFFFF" />
  25. </Style>
  26. <!-- 登陆颜色 -->
  27. <Style x:Key="LoginTypeColor" TargetType="TextBlock">
  28. <Setter Property="Foreground" Value="#FFFFFFFF" />
  29. </Style>
  30. <!-- 关闭按钮 -->
  31. <ControlTemplate x:Key="SkinBtnClose" TargetType="{x:Type Button}">
  32. <Grid>
  33. <Grid.ColumnDefinitions>
  34. <ColumnDefinition Width="23*" />
  35. <ColumnDefinition Width="72*" />
  36. </Grid.ColumnDefinitions>
  37. <Image
  38. x:Name="ImgSetUp"
  39. Grid.ColumnSpan="2"
  40. Source="/SkinImages/TechnologyBlue/HM_Close.png" />
  41. <Label
  42. x:Name="Word"
  43. Grid.Column="1"
  44. HorizontalAlignment="Center"
  45. VerticalAlignment="Center"
  46. Content="关闭程序"
  47. FontSize="{TemplateBinding FontSize}"
  48. Foreground="#FFFFFFFF" />
  49. </Grid>
  50. <ControlTemplate.Triggers>
  51. <Trigger Property="IsMouseOver" Value="True">
  52. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png" />
  53. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  54. </Trigger>
  55. </ControlTemplate.Triggers>
  56. </ControlTemplate>
  57. <!-- 录制按钮 -->
  58. <ControlTemplate x:Key="SkinBtnRecord" TargetType="{x:Type Button}">
  59. <Grid>
  60. <Grid.ColumnDefinitions>
  61. <ColumnDefinition Width="23*" />
  62. <ColumnDefinition Width="72*" />
  63. </Grid.ColumnDefinitions>
  64. <Image
  65. x:Name="ImgRecord"
  66. Grid.ColumnSpan="2"
  67. Source="/SkinImages/TechnologyBlue/Toolbar_LZ.png" />
  68. <Label
  69. x:Name="Word"
  70. Grid.Column="1"
  71. HorizontalAlignment="Center"
  72. VerticalAlignment="Center"
  73. Content="开始录制"
  74. FontSize="{TemplateBinding FontSize}"
  75. Foreground="#FFFFFFFF" />
  76. </Grid>
  77. <ControlTemplate.Triggers>
  78. <Trigger Property="IsMouseOver" Value="True">
  79. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LZ_MI.png" />
  80. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  81. </Trigger>
  82. <Trigger Property="IsPressed" Value="True">
  83. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LZ_MI.png" />
  84. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  85. </Trigger>
  86. <Trigger Property="IsEnabled" Value="False">
  87. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LZ_N.png" />
  88. <Setter TargetName="Word" Property="Foreground" Value="#FFE3E3E3" />
  89. </Trigger>
  90. </ControlTemplate.Triggers>
  91. </ControlTemplate>
  92. <!-- 录制暂停按钮 -->
  93. <ControlTemplate x:Key="SkinBtnRecordSuspend" TargetType="{x:Type Button}">
  94. <Grid>
  95. <Grid.ColumnDefinitions>
  96. <ColumnDefinition Width="23*" />
  97. <ColumnDefinition Width="72*" />
  98. </Grid.ColumnDefinitions>
  99. <Image
  100. x:Name="ImgRecordSuspend"
  101. Grid.ColumnSpan="2"
  102. Source="/SkinImages/TechnologyBlue/Toolbar_LZZT.png" />
  103. <Label
  104. x:Name="Word"
  105. Grid.Column="1"
  106. HorizontalAlignment="Center"
  107. VerticalAlignment="Center"
  108. Content="暂停录制"
  109. FontSize="{TemplateBinding FontSize}"
  110. Foreground="#FFFFFFFF" />
  111. </Grid>
  112. <ControlTemplate.Triggers>
  113. <Trigger Property="IsMouseOver" Value="True">
  114. <Setter TargetName="ImgRecordSuspend" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LZZT_MI.png" />
  115. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  116. </Trigger>
  117. <Trigger Property="IsPressed" Value="True">
  118. <Setter TargetName="ImgRecordSuspend" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LZZT_MI.png" />
  119. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  120. </Trigger>
  121. <Trigger Property="IsEnabled" Value="False">
  122. <Setter TargetName="ImgRecordSuspend" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LZZT_N.png" />
  123. <Setter TargetName="Word" Property="Foreground" Value="#FFE3E3E3" />
  124. </Trigger>
  125. </ControlTemplate.Triggers>
  126. </ControlTemplate>
  127. <!-- 录制保存按钮 -->
  128. <ControlTemplate x:Key="SkinBtnRecordStop" TargetType="{x:Type Button}">
  129. <Grid>
  130. <Grid.ColumnDefinitions>
  131. <ColumnDefinition Width="23*" />
  132. <ColumnDefinition Width="72*" />
  133. </Grid.ColumnDefinitions>
  134. <Image
  135. x:Name="ImgRecordStop"
  136. Grid.ColumnSpan="2"
  137. Source="/SkinImages/TechnologyBlue/Toolbar_Save.png" />
  138. <Label
  139. x:Name="Word"
  140. Grid.Column="1"
  141. HorizontalAlignment="Center"
  142. VerticalAlignment="Center"
  143. Content="保存录制"
  144. FontSize="{TemplateBinding FontSize}"
  145. Foreground="#FFFFFFFF" />
  146. </Grid>
  147. <ControlTemplate.Triggers>
  148. <Trigger Property="IsMouseOver" Value="True">
  149. <Setter TargetName="ImgRecordStop" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_Save_MI.png" />
  150. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  151. </Trigger>
  152. <Trigger Property="IsPressed" Value="True">
  153. <Setter TargetName="ImgRecordStop" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_Save_MI.png" />
  154. <Setter TargetName="Word" Property="Foreground" Value="#3f6fff" />
  155. </Trigger>
  156. <Trigger Property="IsEnabled" Value="False">
  157. <Setter TargetName="ImgRecordStop" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_Save_N.png" />
  158. <Setter TargetName="Word" Property="Foreground" Value="#FFE3E3E3" />
  159. </Trigger>
  160. </ControlTemplate.Triggers>
  161. </ControlTemplate>
  162. <!-- 录屏按钮 -->
  163. <ControlTemplate x:Key="SkinBtnScreenRecording" TargetType="{x:Type Button}">
  164. <Grid>
  165. <Grid.ColumnDefinitions>
  166. <ColumnDefinition Width="100*" />
  167. <ColumnDefinition Width="60*" />
  168. <ColumnDefinition Width="40*" />
  169. </Grid.ColumnDefinitions>
  170. <Image
  171. x:Name="ImgScreenRecording"
  172. Grid.ColumnSpan="3"
  173. Source="/SkinImages/TechnologyBlue/Toolbar_LP.png"
  174. Stretch="Fill" />
  175. <Label
  176. x:Name="Word"
  177. Grid.Column="1"
  178. HorizontalAlignment="Center"
  179. VerticalAlignment="Center"
  180. Content="录屏"
  181. FontSize="{TemplateBinding FontSize}"
  182. Foreground="#FFFFFFFF" />
  183. </Grid>
  184. <ControlTemplate.Triggers>
  185. <Trigger Property="IsMouseOver" Value="True">
  186. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LP_MI.png" />
  187. </Trigger>
  188. <Trigger Property="IsPressed" Value="True">
  189. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LP_CL.png" />
  190. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  191. </Trigger>
  192. <Trigger Property="IsEnabled" Value="False">
  193. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_LP_N.png" />
  194. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  195. </Trigger>
  196. </ControlTemplate.Triggers>
  197. </ControlTemplate>
  198. <!-- 截图按钮 -->
  199. <ControlTemplate x:Key="SkinBtnScreenshot" TargetType="{x:Type Button}">
  200. <Grid>
  201. <Grid.ColumnDefinitions>
  202. <ColumnDefinition Width="100*" />
  203. <ColumnDefinition Width="60*" />
  204. <ColumnDefinition Width="40*" />
  205. </Grid.ColumnDefinitions>
  206. <Image
  207. x:Name="ImgScreenshot"
  208. Grid.ColumnSpan="3"
  209. Source="/SkinImages/TechnologyBlue/Toolbar_JT.png"
  210. Stretch="Fill" />
  211. <Label
  212. x:Name="Word"
  213. Grid.Column="1"
  214. HorizontalAlignment="Center"
  215. VerticalAlignment="Center"
  216. Content="截图"
  217. FontSize="{TemplateBinding FontSize}"
  218. Foreground="#FFFFFFFF" />
  219. </Grid>
  220. <ControlTemplate.Triggers>
  221. <Trigger Property="IsMouseOver" Value="True">
  222. <Setter TargetName="ImgScreenshot" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JT_MI.png" />
  223. </Trigger>
  224. <Trigger Property="IsPressed" Value="True">
  225. <Setter TargetName="ImgScreenshot" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JT_CL.png" />
  226. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  227. </Trigger>
  228. <Trigger Property="IsEnabled" Value="False">
  229. <Setter TargetName="ImgScreenshot" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JT_N.png" />
  230. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  231. </Trigger>
  232. </ControlTemplate.Triggers>
  233. </ControlTemplate>
  234. <!-- 导入按钮 -->
  235. <ControlTemplate x:Key="SkinBtnImport" TargetType="{x:Type Button}">
  236. <Grid>
  237. <Grid.ColumnDefinitions>
  238. <ColumnDefinition Width="100*" />
  239. <ColumnDefinition Width="60*" />
  240. <ColumnDefinition Width="40*" />
  241. </Grid.ColumnDefinitions>
  242. <Image
  243. x:Name="ImgImport"
  244. Grid.ColumnSpan="3"
  245. Source="/SkinImages/TechnologyBlue/Toolbar_DR.png"
  246. Stretch="Fill" />
  247. <Label
  248. x:Name="Word"
  249. Grid.Column="1"
  250. HorizontalAlignment="Center"
  251. VerticalAlignment="Center"
  252. Content="导入"
  253. FontSize="{TemplateBinding FontSize}"
  254. Foreground="#FFFFFFFF" />
  255. </Grid>
  256. <ControlTemplate.Triggers>
  257. <Trigger Property="IsMouseOver" Value="True">
  258. <Setter TargetName="ImgImport" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_DR_MI.png" />
  259. </Trigger>
  260. <Trigger Property="IsPressed" Value="True">
  261. <Setter TargetName="ImgImport" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_DR_CL.png" />
  262. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  263. </Trigger>
  264. <Trigger Property="IsEnabled" Value="False">
  265. <Setter TargetName="ImgImport" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_DR_N.png" />
  266. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  267. </Trigger>
  268. </ControlTemplate.Triggers>
  269. </ControlTemplate>
  270. <!-- 加页按钮 -->
  271. <ControlTemplate x:Key="SkinBtnAdd" TargetType="{x:Type Button}">
  272. <Grid>
  273. <Grid.ColumnDefinitions>
  274. <ColumnDefinition Width="100*" />
  275. <ColumnDefinition Width="60*" />
  276. <ColumnDefinition Width="40*" />
  277. </Grid.ColumnDefinitions>
  278. <Image
  279. x:Name="ImgAdd"
  280. Grid.ColumnSpan="3"
  281. Source="/SkinImages/TechnologyBlue/Toolbar_JY.png"
  282. Stretch="Fill" />
  283. <Label
  284. x:Name="Word"
  285. Grid.Column="1"
  286. HorizontalAlignment="Center"
  287. VerticalAlignment="Center"
  288. Content="加页"
  289. FontSize="{TemplateBinding FontSize}"
  290. Foreground="#FFFFFFFF" />
  291. </Grid>
  292. <ControlTemplate.Triggers>
  293. <Trigger Property="IsMouseOver" Value="True">
  294. <Setter TargetName="ImgAdd" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JY_MI.png" />
  295. </Trigger>
  296. <Trigger Property="IsPressed" Value="True">
  297. <Setter TargetName="ImgAdd" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JY_CL.png" />
  298. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  299. </Trigger>
  300. <Trigger Property="IsEnabled" Value="False">
  301. <Setter TargetName="ImgAdd" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JY_N.png" />
  302. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  303. </Trigger>
  304. </ControlTemplate.Triggers>
  305. </ControlTemplate>
  306. <!-- 打印按钮 -->
  307. <ControlTemplate x:Key="SkinBtnPrint" TargetType="{x:Type Button}">
  308. <Grid>
  309. <Grid.ColumnDefinitions>
  310. <ColumnDefinition Width="100*" />
  311. <ColumnDefinition Width="60*" />
  312. <ColumnDefinition Width="40*" />
  313. </Grid.ColumnDefinitions>
  314. <Image
  315. x:Name="ImgPrint"
  316. Grid.ColumnSpan="3"
  317. Source="/SkinImages/TechnologyBlue/Toolbar_DY.png"
  318. Stretch="Fill" />
  319. <Label
  320. x:Name="Word"
  321. Grid.Column="1"
  322. HorizontalAlignment="Center"
  323. VerticalAlignment="Center"
  324. Content="打印"
  325. FontSize="{TemplateBinding FontSize}"
  326. Foreground="#FFFFFFFF" />
  327. </Grid>
  328. <ControlTemplate.Triggers>
  329. <Trigger Property="IsMouseOver" Value="True">
  330. <Setter TargetName="ImgPrint" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_DY_MI.png" />
  331. </Trigger>
  332. <Trigger Property="IsPressed" Value="True">
  333. <Setter TargetName="ImgPrint" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_DY_CL.png" />
  334. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  335. </Trigger>
  336. <Trigger Property="IsEnabled" Value="False">
  337. <Setter TargetName="ImgPrint" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_DY_N.png" />
  338. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  339. </Trigger>
  340. </ControlTemplate.Triggers>
  341. </ControlTemplate>
  342. <!-- 我的按钮 -->
  343. <ControlTemplate x:Key="SkinBtnMy" TargetType="{x:Type Button}">
  344. <Grid>
  345. <Grid.ColumnDefinitions>
  346. <ColumnDefinition Width="100*" />
  347. <ColumnDefinition Width="60*" />
  348. <ColumnDefinition Width="40*" />
  349. </Grid.ColumnDefinitions>
  350. <Image
  351. x:Name="ImgMy"
  352. Grid.ColumnSpan="3"
  353. Source="/SkinImages/TechnologyBlue/Toolbar_MY.png"
  354. Stretch="Fill" />
  355. <Label
  356. x:Name="Word"
  357. Grid.Column="1"
  358. HorizontalAlignment="Center"
  359. VerticalAlignment="Center"
  360. Content="我的"
  361. FontSize="{TemplateBinding FontSize}"
  362. Foreground="#FFFFFFFF" />
  363. </Grid>
  364. <ControlTemplate.Triggers>
  365. <Trigger Property="IsMouseOver" Value="True">
  366. <Setter TargetName="ImgMy" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_MY_MI.png" />
  367. </Trigger>
  368. <Trigger Property="IsPressed" Value="True">
  369. <Setter TargetName="ImgMy" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_MY_CL.png" />
  370. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  371. </Trigger>
  372. <Trigger Property="IsEnabled" Value="False">
  373. <Setter TargetName="ImgMy" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_MY_N.png" />
  374. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  375. </Trigger>
  376. </ControlTemplate.Triggers>
  377. </ControlTemplate>
  378. <!-- 检测按钮 -->
  379. <ControlTemplate x:Key="SkinBtnDevice" TargetType="{x:Type Button}">
  380. <Grid>
  381. <Grid.ColumnDefinitions>
  382. <ColumnDefinition Width="100*" />
  383. <ColumnDefinition Width="60*" />
  384. <ColumnDefinition Width="40*" />
  385. </Grid.ColumnDefinitions>
  386. <Image
  387. x:Name="ImgDevice"
  388. Grid.ColumnSpan="3"
  389. Source="/SkinImages/TechnologyBlue/Toolbar_JC.png"
  390. Stretch="Fill" />
  391. <Label
  392. x:Name="Word"
  393. Grid.Column="1"
  394. HorizontalAlignment="Center"
  395. VerticalAlignment="Center"
  396. Content="检测"
  397. FontSize="{TemplateBinding FontSize}"
  398. Foreground="#FFFFFFFF" />
  399. </Grid>
  400. <ControlTemplate.Triggers>
  401. <Trigger Property="IsMouseOver" Value="True">
  402. <Setter TargetName="ImgDevice" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JC_MI.png" />
  403. </Trigger>
  404. <Trigger Property="IsPressed" Value="True">
  405. <Setter TargetName="ImgDevice" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JC_CL.png" />
  406. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  407. </Trigger>
  408. <Trigger Property="IsEnabled" Value="False">
  409. <Setter TargetName="ImgDevice" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_JC_N.png" />
  410. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  411. </Trigger>
  412. </ControlTemplate.Triggers>
  413. </ControlTemplate>
  414. <!-- 设置按钮 -->
  415. <ControlTemplate x:Key="SkinBtnSetUp" TargetType="{x:Type Button}">
  416. <Grid>
  417. <Grid.ColumnDefinitions>
  418. <ColumnDefinition Width="100*" />
  419. <ColumnDefinition Width="60*" />
  420. <ColumnDefinition Width="40*" />
  421. </Grid.ColumnDefinitions>
  422. <Image
  423. x:Name="ImgSetUp"
  424. Grid.ColumnSpan="3"
  425. Source="/SkinImages/TechnologyBlue/Toolbar_SZ.png"
  426. Stretch="Fill" />
  427. <Label
  428. x:Name="Word"
  429. Grid.Column="1"
  430. HorizontalAlignment="Center"
  431. VerticalAlignment="Center"
  432. Content="设置"
  433. FontSize="{TemplateBinding FontSize}"
  434. Foreground="#FFFFFFFF" />
  435. </Grid>
  436. <ControlTemplate.Triggers>
  437. <Trigger Property="IsMouseOver" Value="True">
  438. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_SZ_MI.png" />
  439. </Trigger>
  440. <Trigger Property="IsPressed" Value="True">
  441. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_SZ_CL.png" />
  442. <Setter TargetName="Word" Property="Foreground" Value="#FF333333" />
  443. </Trigger>
  444. <Trigger Property="IsEnabled" Value="False">
  445. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/Toolbar_SZ_N.png" />
  446. <Setter TargetName="Word" Property="Foreground" Value="#FFC3C3C3" />
  447. </Trigger>
  448. </ControlTemplate.Triggers>
  449. </ControlTemplate>
  450. </ResourceDictionary>