0%

MergedDictionariesExtensions

Available Extensions
AddIfNotNull
RemoveIfNotNull
InsertOrReplace
RemoveAll
InsertIfNotExists
Swap

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

mergedDictionary.AddIfNotNull(resourceDictionary);

//

mergedDictionary.RemoveIfNotNull(resourceDictionary);

//

mergedDictionary.InsertOrReplace(index, resourceDictionary);

//

mergedDictionary.InsertIfNotExists(index, resourceDictionary);

//

mergedDictionary.RemoveAll();

//

mergedDictionary.Swap(index1, index2);

Demo

you can run demo and see this feature.