Explorar o código

add UserControl comment

lindexi %!s(int64=8) %!d(string=hai) anos
pai
achega
a912f03167
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/Avalonia.Controls/UserControl.cs

+ 4 - 0
src/Avalonia.Controls/UserControl.cs

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