ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / C1.Framework Namespace / Theme Class
Members

In This Topic
    Theme Class
    In This Topic
    Class that contains a keyed collection of Style objects and methods to serialize the styles into Xml files and streams.
    Object Model
    Theme Class
    Syntax
    'Declaration
     
    Public Class Theme 
       Inherits System.Collections.ObjectModel.KeyedCollection(Of String,Style)
    public class Theme : System.Collections.ObjectModel.KeyedCollection<string,Style> 
    Remarks

    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)
    Inheritance Hierarchy

    System.Object
       System.Collections.ObjectModel.Collection<T>
          System.Collections.ObjectModel.KeyedCollection<TKey,TItem>
             C1.Framework.Theme

    See Also