Interface IResourceDictionaryDispenser
Represents a service that dispenses ResourceDictionaries.
Namespace: System.Windows.Controls.DataVisualization
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public interface IResourceDictionaryDispenser
Methods
| Improve this Doc View SourceGetResourceDictionariesWhere(Func<ResourceDictionary, Boolean>)
Returns a rotating enumerator of ResourceDictionaries coordinated with the style dispenser object to ensure that no two enumerators are currently on the same one if possible. If the dispenser is reset or its collection is changed then the enumerators will also be reset.
Declaration
IEnumerator<ResourceDictionary> GetResourceDictionariesWhere(Func<ResourceDictionary, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ResourceDictionary, System.Boolean> | predicate | A predicate that returns a value indicating whether to return a ResourceDictionary. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ResourceDictionary> | An enumerator of ResourceDictionaries. |
Events
| Improve this Doc View SourceResourceDictionariesChanged
Event that is invoked when the StyleDispenser's ResourceDictionaries have changed.
Declaration
event EventHandler ResourceDictionariesChanged
Event Type
Type | Description |
---|---|
System.EventHandler |