Theme Class

Theme Class

Applies to v2.

Represents the theme used in the editor.


Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

public class Theme : ITheme

The Theme type exposes the following members.

Public methodThemeInitializes a new instance of the Theme class.

Public propertyCollapsedTextBackgroundBrushGets or sets the color for the text background of the theme.
Public propertyDefaultFormatGets or sets the format data which is the default format for the theme.
Public propertyFormatsGets or sets the theme formats with specified format data.
Public propertyStatic memberGlobalSettingKeysGets or sets the global setting keys used in the theme.
Protected propertyInactiveSelectionFormatGets the inactive selection format for the theme with specified format data.
Public propertyNameGets or sets the name of the theme.
Protected propertySelectionFormatGets the selection format for the theme with specified format data.
Public propertySurfaceBackgroundBrushGets or sets the color for the surface background of the theme.
Protected propertyVisibleWhiteSpaceGets or sets the visibility of the objects in the theme.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetFormatDataGets the format data for the theme.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoadLoads a theme.
Public methodLoadFromFileLoad a theme from a specified file.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSaveToFileSaves a theme to a specified file.
Public methodToString (Inherited from Object.)
Public methodToXmlReturns the XML representation of a theme.

Explicit interface implemetationPrivate propertyITheme.FormatsGets the theme formats with specified format data.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft