Table of Contents

Class ResourceExtension

Namespace
System
Assembly
HeBianGu.Base.WpfBase.dll
public static class ResourceExtension
Inheritance
ResourceExtension
Inherited Members

Methods

FindResources(ResourceDictionary, Predicate<DictionaryEntry>)

public static List<DictionaryEntry> FindResources(this ResourceDictionary resource, Predicate<DictionaryEntry> predicate = null)

Parameters

resource ResourceDictionary
predicate Predicate<DictionaryEntry>

Returns

List<DictionaryEntry>

FindResources<T>(ResourceDictionary, Predicate<DictionaryEntry>)

public static IEnumerable<T> FindResources<T>(this ResourceDictionary resource, Predicate<DictionaryEntry> predicate = null) where T : class

Parameters

resource ResourceDictionary
predicate Predicate<DictionaryEntry>

Returns

IEnumerable<T>

Type Parameters

T