[]
Use weak references to cleanup not used themes
public class ThemesCollection
Public Class ThemesCollection
| Name | Description |
|---|---|
| this[string] | Gets or sets the theme at the specified key. |
| SyncRoot | Gets an object that can be used to synchronize access to the collection. |
| Name | Description |
|---|---|
| Add(BaseTheme) | Adds a theme to the end of the ThemesCollection. |
| Clear() | Removes all themes from the collection. |
| Contains(string) | Determines whether the ThemesCollection contains the theme by specified name. |
| Remove(BaseTheme) | Removes the first occurrence of a specific theme from the collection. |
| Remove(string) | Removes the first occurrence of a specific theme name from the collection. |
| ToList() | Gets the list of themes. |