Show / Hide Table of Contents

Interface IResourceDictionaryDispenser

Represents a service that dispenses ResourceDictionaries.

Namespace: System.Windows.Controls.DataVisualization
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
public interface IResourceDictionaryDispenser

Methods

| Improve this Doc View Source

GetResourceDictionariesWhere(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 Source

ResourceDictionariesChanged

Event that is invoked when the StyleDispenser's ResourceDictionaries have changed.

Declaration
event EventHandler ResourceDictionariesChanged
Event Type
Type Description
System.EventHandler
  • Improve this Doc
  • View Source