Browse Source

add UserControl comment

pull/1396/head
lindexi 9 years ago
parent
commit
a912f03167
  1. 4
      src/Avalonia.Controls/UserControl.cs

4
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/>

Loading…
Cancel
Save