The examples in this article use the object-oriented style, but you can obtain the same results using a functional approach.
本文中的例子使用的是面向对象的风格,但使用函数式方式可以获得同样的结果。
TemplatedControlDesigner object, using the specified name, template names, control style, and template styles.
使用指定的名称和模板为指定的模板化控件设计器创建新的模板编辑框。
应用推荐