Class UserControl
Provides the base class for defining a new control that encapsulates related existing controls and provides its own logic.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
public class UserControl : Control
Constructors
| Improve this Doc View SourceUserControl()
Declaration
public UserControl()
Fields
| Improve this Doc View SourceContentProperty
Identifies the Content dependency property
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceContent
Gets or sets the content that is contained within a user control.
Declaration
public UIElement Content { get; set; }
Property Value
Type | Description |
---|---|
UIElement |