The first scenario covered by the Training Kit is building a custom control.
培训包涉及的第一个场景是构建自定义控件。
In this section, we'll highlight what is needed to define the custom control.
本节我们将讨论如何定义定制的控件。
Create a WPF custom control library project.
创建一个WPF自定义控件库项目。
But what if you want to change the property of a custom control?
但是如果你想改变自定义控件的属性?
This property is the UI Automation provider for the window of a custom control.
此属性是用于自定义控件的窗口的UI自动化提供程序。
If you create custom control and want to define an event, use code similar to this.
如果您创建自定义控件并想定义事件,请使用与此类似的代码。
In your main application, you initially create 52 instances of this card custom control.
在您的主应用程序中,最初创建该纸牌自定义控件的52个实例。
In your main application, you initially create 52 instances of this card custom control.
在您的主应用程序中,最初创建该纸牌自定义控件的52个实例。
应用推荐