Xamarin.Forms.ResourceDictionary Members

The members of Xamarin.Forms.ResourceDictionary are listed below.

See Also: Inherited members from System.Object

Public Constructors

Public Properties

[read-only]
Countint. The number of entries in the Xamarin.Forms.ResourceDictionary.
default property
Item(string)object. Retrieves the object value associated with the key index.
[read-only]
KeysICollection<string>. The collection of identifier strings that are keys in the Xamarin.Forms.ResourceDictionary.
[read-only]
ValuesICollection<object>. Retrieves the values of the Xamarin.Forms.ResourceDictionary.

Public Methods

Add(Style)

Add an implicit Style to the ResourceDictionary. Implicit Styles are applied to all VisualElements matching TargetType in the descendants of this ResourceDictionary owner, unless a Style is explicitely applied to the Element.

Implicit Styles are added to a ResourceDictionary in XAML by not specifying an x:Key for the Element.

Add(string, object)
Adds key and value to the Xamarin.Forms.ResourceDictionary as a key-value pair.
Clear()
Empties the Xamarin.Forms.ResourceDictionary.
ContainsKey(string) : bool
Whether the Xamarin.Forms.ResourceDictionary contains a key-value pair identified by key.
GetEnumerator() : IEnumerator<KeyValuePair<string, object>>
Returns a IEnumerator`1 of the Xamarin.Forms.ResourceDictionary's KeyValuePair`1s.
Remove(string) : bool
Removes the key and value identified by key from the Xamarin.Forms.ResourceDictionary.
TryGetValue(string, out object) : bool
Retrieves the object specified by key or, if not present, the default value of null.

Explicitly Implemented Interface Members

ICollection<KeyValuePair<string, object>>.AddAdds an item to the collection.
ICollection<KeyValuePair<string, object>>.ContainsReturns a value that indicates whether the dictionary contains the value in item, indexed by the key in item.
ICollection<KeyValuePair<string, object>>.CopyToCopies the values in the dictionary to array, starting at position arrayIndex in array.
IEnumerable.GetEnumeratorReturns a IEnumerator of the Xamarin.Forms.ResourceDictionary's KeyValuePair`1s.
[read-only]
ICollection<KeyValuePair<string, object>>.IsReadOnlybool. Gets a value that indicates whether the resource dictionary is read-only.
ICollection<KeyValuePair<string, object>>.RemoveRemoves the value in item, indexed by the key in item, from the dictionary, if present.