Ribbon for WinForms | ComponentOne
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 ClassStyle Class
    Syntax
    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
    See Also