Browse Source

Doc comments.

pull/1136/head
Steven Kirk 9 years ago
parent
commit
0a6216a352
  1. 4
      src/Avalonia.Styling/Controls/IResourceNode.cs
  2. 9
      src/Avalonia.Styling/Controls/ResourceDictionary.cs

4
src/Avalonia.Styling/Controls/IResourceNode.cs

@ -13,12 +13,12 @@ namespace Avalonia.Controls
event EventHandler<ResourcesChangedEventArgs> ResourcesChanged;
/// <summary>
/// Gets a value indicating whether the provider has resources.
/// Gets a value indicating whether the node has resources.
/// </summary>
bool HasResources { get; }
/// <summary>
/// Gets the parent resource provider, if any.
/// Gets the parent resource node, if any.
/// </summary>
IResourceNode ResourceParent { get; }

9
src/Avalonia.Styling/Controls/ResourceDictionary.cs

@ -15,13 +15,18 @@ namespace Avalonia.Controls
{
private AvaloniaList<IResourceDictionary> _mergedDictionaries;
public event EventHandler<ResourcesChangedEventArgs> ResourcesChanged;
/// <summary>
/// Initializes a new instance of the <see cref="ResourceDictionary"/> class.
/// </summary>
public ResourceDictionary()
{
CollectionChanged += OnCollectionChanged;
}
/// <inheritdoc/>
public event EventHandler<ResourcesChangedEventArgs> ResourcesChanged;
/// <inheritdoc/>
public IList<IResourceDictionary> MergedDictionaries
{
get

Loading…
Cancel
Save