github编辑

UserControl

UserControlarrow-up-right control is a ContentControlarrow-up-right that represents a reusable collection of controls in a predefined layout.

UserControl actually provides very little functionality on top of ContentControl. The difference is that you will not usually create instances of the UserControl class directly; instead a new subclass of the UserControl class is usually created for each "view" to be shown by an application. For information on how to create new UserControl classes from templates see the quickstartarrow-up-right.

Common Properties

Property
Description

Content

The content to display in the control

Reference

UserControlarrow-up-right

Source code

UserControl.csarrow-up-right

最后更新于

这有帮助吗?