Skip to main content

IResourceDictionary Interface

Definition

Assembly:Avalonia.Base
Package:Avalonia

An indexed dictionary of resources.

public interface IResourceDictionary

Implements: IResourceNode, IResourceProvider, ICollection<KeyValuePair<object,object>>, IDictionary<object,object>, IEnumerable<KeyValuePair<object,object>>, IEnumerable

Properties

NameDescription
MergedDictionariesGets a collection of child resource dictionaries.
ThemeDictionariesGets a collection of merged resource dictionaries that are specifically keyed and composed to address theme scenarios.

MergedDictionaries Property

Gets a collection of child resource dictionaries.

public System.Collections.Generic.IList<Avalonia.Controls.IResourceProvider> MergedDictionaries { get; set; }

ThemeDictionaries Property

Gets a collection of merged resource dictionaries that are specifically keyed and composed to address theme scenarios.

public System.Collections.Generic.IDictionary<Avalonia.Styling.ThemeVariant, Avalonia.Controls.IThemeVariantProvider> ThemeDictionaries { get; set; }