Partilhar via


ITheme Interface

Applies to v2.

Represents an interface for an editor theme.

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

Syntax

'Declaration
Public Interface ITheme
'Usage
Dim instance As ITheme
public interface ITheme
public interface class ITheme
type ITheme =  interface end
public interface ITheme

The ITheme type exposes the following members.

Properties

  Name Description
Public property CollapsedTextBackgroundBrush Gets or sets the collapsed text background brush.
Public property DefaultFormat Gets or sets the default format.
Public property Formats Gets a dictionary of formats.
Public property Name Gets the theme name.
Public property SurfaceBackgroundBrush Gets or sets the surface background brush.

Top

Methods

  Name Description
Public method GetFormatData Gets the format data for a classification.
Public method LoadFromFile Loads the theme from a file.
Public method SaveToFile Saves the theme to a file.
Public method ToXml Converts the theme to XML.

Top

See Also

Reference

Microsoft.WebMatrix.Extensibility.Editor Namespace