In This Article

SyntaxEditorThemeManager Class

Manages themes for use with SyntaxEditor including the ability to synchronize DefaultImageSet and CurrentColorPalette to changes in CurrentTheme.

public static class SyntaxEditorThemeManager
Inheritance:
object object

Properties

IsCommonImageSetSynchronizationEnabled

Gets or sets if the DefaultImageSet property is automatically synchronized with the current theme.

public static bool IsCommonImageSetSynchronizationEnabled { get; set; }

Property Value

bool:

true to set the DefaultImageSet property to a value that matches CurrentTheme; otherwise, false to allow the property to be manually changed. The default value is true.

IsDarkThemeActive

Gets if a dark theme is currently active.

public static bool IsDarkThemeActive { get; }

Property Value

bool:

true if a dark theme is currently active; otherwise false.

Methods

Manage(IHighlightingStyleRegistry)

Begins managing the given IHighlightingStyleRegistry.

public static void Manage(IHighlightingStyleRegistry registry)
Parameter Type Description
registry IHighlightingStyleRegistry

The IHighlightingStyleRegistry to manage.

Remarks

The AmbientHighlightingStyleRegistry is managed by default.

See Also

Unmanage(IHighlightingStyleRegistry)

Stops managing the given IHighlightingStyleRegistry.

public static void Unmanage(IHighlightingStyleRegistry registry)
Parameter Type Description
registry IHighlightingStyleRegistry

The IHighlightingStyleRegistry to manage.

See Also

Inherited Members