Class ResourceDictionary

Namespace
Forma.Xaml
Assembly
Forma.dll
public sealed class ResourceDictionary : IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Inheritance
ResourceDictionary
Implements
Inherited Members

Constructors

ResourceDictionary()

public ResourceDictionary()

Properties

Count

public int Count { get; }

Property Value

int

IsReadOnly

public bool IsReadOnly { get; }

Property Value

bool

this[string]

public object this[string key] { get; set; }

Parameters

key string

Property Value

object

Keys

public ICollection<string> Keys { get; }

Property Value

ICollection<string>

MergedDictionaries

public Collection<ResourceDictionary> MergedDictionaries { get; }

Property Value

Collection<ResourceDictionary>

Values

public ICollection<object> Values { get; }

Property Value

ICollection<object>

Methods

Add(ResourceDictionary)

public void Add(ResourceDictionary dictionary)

Parameters

dictionary ResourceDictionary

Add(KeyValuePair<string, object>)

public void Add(KeyValuePair<string, object> item)

Parameters

item KeyValuePair<string, object>

Add(string, object)

public void Add(string key, object value)

Parameters

key string
value object

Clear()

public void Clear()

Contains(KeyValuePair<string, object>)

public bool Contains(KeyValuePair<string, object> item)

Parameters

item KeyValuePair<string, object>

Returns

bool

ContainsKey(string)

public bool ContainsKey(string key)

Parameters

key string

Returns

bool

CopyTo(KeyValuePair<string, object>[], int)

public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)

Parameters

array KeyValuePair<string, object>[]
arrayIndex int

GetEnumerator()

public IEnumerator<KeyValuePair<string, object>> GetEnumerator()

Returns

IEnumerator<KeyValuePair<string, object>>

Remove(KeyValuePair<string, object>)

public bool Remove(KeyValuePair<string, object> item)

Parameters

item KeyValuePair<string, object>

Returns

bool

Remove(string)

public bool Remove(string key)

Parameters

key string

Returns

bool

TryFind(string, out object)

public bool TryFind(string key, out object value)

Parameters

key string
value object

Returns

bool

TryGetValue(string, out object)

public bool TryGetValue(string key, out object value)

Parameters

key string
value object

Returns

bool

Events

Changed

public event EventHandler Changed

Event Type

EventHandler