Class ResourceDictionary
Definition
- Namespace:
- Tizen.NUI.Binding
- Assembly:
- Tizen.NUI.dll
public class ResourceDictionary : IEnumerable<KeyValuePair<string, object>>, IDictionary<string, object>
- Inheritance
-
object
ResourceDictionary
- Implements
-
IEnumerable<><KeyValuePair<, ><string, object>>
IDictionary<, ><string, object>
Constructors
View Source
ResourceDictionary()
Declaration
public ResourceDictionary()
Properties
View Source
Count
Declaration
public int Count { get; }
Property Value
View Source
this[string]
Gets or sets the value according to index.
Declaration
public object this[string index] { get; set; }
Parameters
Type |
Name |
Description |
string |
index |
|
Property Value
View Source
Keys
Declaration
public ICollection<string> Keys { get; }
Property Value
Type |
Description |
ICollection<><string> |
|
View Source
MergedDictionaries
Declaration
public ICollection<ResourceDictionary> MergedDictionaries { get; }
Property Value
View Source
MergedWith
Gets or sets the type of object with which the resource dictionary is merged.
Declaration
public Type MergedWith { get; set; }
Property Value
View Source
Source
Gets or sets the URI of the merged resource dictionary.
Declaration
public Uri Source { get; set; }
Property Value
View Source
Values
Declaration
public ICollection<object> Values { get; }
Property Value
Type |
Description |
ICollection<><object> |
|
Methods
View Source
Add(string, object)
Declaration
public void Add(string key, object value)
Parameters
Type |
Name |
Description |
string |
key |
|
object |
value |
|
View Source
Add(ResourceDictionary)
Declaration
public void Add(ResourceDictionary mergedResourceDictionary)
Parameters
View Source
Clear()
Declaration
View Source
ContainsKey(string)
Declaration
public bool ContainsKey(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
View Source
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Type |
Description |
IEnumerator<><KeyValuePair<, ><string, object>> |
|
View Source
Remove(string)
Declaration
public bool Remove(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
View Source
SetAndLoadSource(Uri, string, Assembly, IXmlLineInfo)
Declaration
public void SetAndLoadSource(Uri value, string resourcePath, Assembly assembly, Xml.IXmlLineInfo lineInfo)
Parameters
Type |
Name |
Description |
Uri |
value |
The source.
|
string |
resourcePath |
The resource path.
|
Assembly |
assembly |
The assembly.
|
Tizen.System.Xml.IXmlLineInfo |
lineInfo |
The xml line info.
|
View Source
TryGetValue(string, out object)
Declaration
public bool TryGetValue(string key, out object value)
Parameters
Type |
Name |
Description |
string |
key |
|
object |
value |
|
Returns
Implements
IEnumerable<>
IDictionary<, >
Extension Methods