ResourceDictionary.Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a value that indicates whether a specified key exists in the ResourceDictionary.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- key
- Type: System.Object
The key to check for in the ResourceDictionary.
Return Value
Type: System.Booleantrue if an item with that key exists in the ResourceDictionary; otherwise, false.
Implements
IDictionary.Contains(Object)
Show: