Xamarin.Forms.ResourceDictionary: Method Members

The methods of Xamarin.Forms.ResourceDictionary are listed below. For a list of all members, see the ResourceDictionary Members list.

See Also: Inherited members from System.Object

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.