1 usingSystem;2 usingSystem.Collections.Generic;3 usingSystem.ComponentModel;4 usingSystem.Linq;5 usingSystem.Text;6 usingSystem.Windows;7 usingSystem.Windows.Controls;8 usingSystem.Windows.Data;9 usingSystem.Windows.Documents;10 usingSystem.Windows.Input;11 usingSystem.Windows.Media;12 usingSystem.Windows.Media.Imaging;13 usingSystem.Windows.Navigation;14 usingSystem.Windows.Shapes;15
16 namespaceMF.WPF.CustomControls.RoundButton17 {18 ///
19 ///按照步骤 1a 或 1b 操作,然后执行步骤 2 以在 XAML 文件中使用此自定义控件。20 ///
21 ///步骤 1a) 在当前项目中存在的 XAML 文件中使用该自定义控件。22 ///将此 XmlNamespace 特性添加到要使用该特性的标记文件的根23 ///元素中:24 ///
25 ///xmlns:MyNamespace="clr-namespace:MF.WPF.CustomControls.RoundButton"26 ///
27 ///
28 ///步骤 1b) 在其他项目中存在的 XAML 文件中使用该自定义控件。29 ///将此 XmlNamespace 特性添加到要使用该特性的标记文件的根30 ///元素中:31 ///
32 ///xmlns:MyNamespace="clr-namespace:MF.WPF.CustomControls.RoundButton;assembly=MF.W