Class ResourceDictionary

Definition

Namespace:
Tizen.NUI.Binding
Assembly:
Tizen.NUI.dll
C#
Copy
public class ResourceDictionary : object, IResourceDictionary, IEnumerable<KeyValuePair<string, object>>, IDictionary<string, object>
Inheritance
ResourceDictionary
Implements
IEnumerable<KeyValuePair<String, Object>>
IDictionary<String, Object>

Constructors

View Source

ResourceDictionary()

Declaration
C#
Copy
public ResourceDictionary()

Properties

View Source

Count

Declaration
C#
Copy
public int Count { get; }
Property Value
Type Description
Int32
View Source

Item[String]

Gets or sets the value according to index.

Declaration
C#
Copy
public object this[string index] { get; set; }
Parameters
Type Name Description
String index
Property Value
Type Description
Object
Declaration
C#
Copy
public ICollection<string> Keys { get; }
Property Value
Type Description
ICollection<String>
View Source

MergedDictionaries

Declaration
C#
Copy
public ICollection<ResourceDictionary> MergedDictionaries { get; }
Property Value
Type Description
ICollection<ResourceDictionary>
View Source

MergedWith

Gets or sets the type of object with which the resource dictionary is merged.

Declaration
C#
Copy
public Type MergedWith { get; set; }
Property Value
Type Description
Type
View Source

Source

Gets or sets the URI of the merged resource dictionary.

Declaration
C#
Copy
public Uri Source { get; set; }
Property Value
Type Description
Uri
View Source

Values

Declaration
C#
Copy
public ICollection<object> Values { get; }
Property Value
Type Description
ICollection<Object>

Methods

View Source

Add(String, Object)

Declaration
C#
Copy
public void Add(string key, object value)
Parameters
Type Name Description
String key
Object value
View Source

Add(ResourceDictionary)

Declaration
C#
Copy
public void Add(ResourceDictionary mergedResourceDictionary)
Parameters
Type Name Description
ResourceDictionary mergedResourceDictionary
View Source

Clear()

Declaration
C#
Copy
public void Clear()
View Source

ContainsKey(String)

Declaration
C#
Copy
public bool ContainsKey(string key)
Parameters
Type Name Description
String key
Returns
Type Description
Boolean
View Source

GetEnumerator()

Declaration
C#
Copy
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Type Description
IEnumerator<KeyValuePair<String, Object>>
View Source

Remove(String)

Declaration
C#
Copy
public bool Remove(string key)
Parameters
Type Name Description
String key
Returns
Type Description
Boolean
View Source

SetAndLoadSource(Uri, String, Assembly, Xml.IXmlLineInfo)

To set and load source.

Declaration
C#
Copy
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
C#
Copy
public bool TryGetValue(string key, out object value)
Parameters
Type Name Description
String key
Object value
Returns
Type Description
Boolean

Implements

IEnumerable<>
IDictionary<, >

Extension Methods