'宣言 Public Class Theme Inherits System.Collections.ObjectModel.KeyedCollection(Of String,Style)
public class Theme : System.Collections.ObjectModel.KeyedCollection<string,Style>
'宣言 Public Class Theme Inherits System.Collections.ObjectModel.KeyedCollection(Of String,Style)
public class Theme : System.Collections.ObjectModel.KeyedCollection<string,Style>
The Theme class is a named/keyed collection of Style objects.
The class is designed to be used as a base class for components that need to add custom elements to themes in addition to a style collection.
Inheritors should override the following methods:
// specify the name of the component that will use this theme protected virtual string ComponentType // save component-specific elements to xml protected virtual void WriteCustomData(XmlWriter writer) // load component-specific elements from xml protected virtual void ReadCustomData(XmlNode node)
System.Object
System.Collections.ObjectModel.Collection<T>
System.Collections.ObjectModel.KeyedCollection<TKey,TItem>
C1.Framework.Theme