ResourceDictionary Class

Summary

An indexed dictionary of resources.
Namespace
Avalonia.Controls
Interfaces
  • IDictionary
  • ICollection
  • INotifyCollectionChanged
  • INotifyPropertyChanged
  • IResourceDictionary
  • IResourceProvider
  • IResourceNode
  • IDictionary<object, object?>
  • ICollection<KeyValuePair<object, object?>>
  • IEnumerable<KeyValuePair<object, object?>>
  • IEnumerable
Base Types
graph BT Type-->Base0["AvaloniaDictionary<object, object?>"] Base0-->Base1["object"] Type-.->Interface0["IDictionary"] Type-.->Interface1["ICollection"] Type-.->Interface2["INotifyCollectionChanged"] Type-.->Interface3["INotifyPropertyChanged"] Type-.->Interface4["IResourceDictionary"] click Interface4 "/api/Avalonia.Controls/IResourceDictionary" Type-.->Interface5["IResourceProvider"] click Interface5 "/api/Avalonia.Controls/IResourceProvider" Type-.->Interface6["IResourceNode"] click Interface6 "/api/Avalonia.Controls/IResourceNode" Type-.->Interface7["IDictionary<object, object?>"] Type-.->Interface8["ICollection<KeyValuePair<object, object?>>"] Type-.->Interface9["IEnumerable<KeyValuePair<object, object?>>"] Type-.->Interface10["IEnumerable"] Type["ResourceDictionary"] class Type type-node

Syntax

public class ResourceDictionary : AvaloniaDictionary<object, object?>, IDictionary, ICollection, 
    INotifyCollectionChanged, INotifyPropertyChanged, IResourceDictionary, IResourceProvider, 
    IResourceNode, IDictionary<object, object?>, ICollection<KeyValuePair<object, object?>>, 
    IEnumerable<KeyValuePair<object, object?>>, IEnumerable

Constructors

Name Summary
ResourceDictionary() Initializes a new instance of the ResourceDictionary class.
ResourceDictionary(IResourceHost) Initializes a new instance of the ResourceDictionary class.

Events

Name Type Summary
OwnerChanged EventHandler?

Properties

Methods

Name Value Summary
TryGetResource(object, object?) bool

Extension Methods