diff --git a/src/Avalonia.Controls/UserControl.cs b/src/Avalonia.Controls/UserControl.cs index 7c9e591e31..e063a65e09 100644 --- a/src/Avalonia.Controls/UserControl.cs +++ b/src/Avalonia.Controls/UserControl.cs @@ -6,6 +6,9 @@ using Avalonia.Styling; namespace Avalonia.Controls { + /// + /// Provides the base class for defining a new control that encapsulates related existing controls and provides its own logic. + /// public class UserControl : ContentControl, IStyleable, INameScope { private readonly NameScope _nameScope = new NameScope(); @@ -24,6 +27,7 @@ namespace Avalonia.Controls remove { _nameScope.Unregistered -= value; } } + /// Type IStyleable.StyleKey => typeof(ContentControl); ///