From a912f03167aec9b04f6197b684efc7c3ee5ceb65 Mon Sep 17 00:00:00 2001 From: lindexi Date: Wed, 27 Dec 2017 16:32:02 +0800 Subject: [PATCH] add UserControl comment --- src/Avalonia.Controls/UserControl.cs | 4 ++++ 1 file changed, 4 insertions(+) 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); ///