跳到主要内容
版本:11.0.0

UserControl

UserControl control is a ContentControl 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.

Common Properties

PropertyDescription
ContentThe content to display in the control

Reference

UserControl

Source code

UserControl.cs