In This Article

OfficeThemeDefinitionBase Class

Stores the base configuration options for an Office theme.

public abstract class OfficeThemeDefinitionBase : ThemeDefinition
Inheritance:
object ObservableObjectBase ThemeDefinition object
Derived:
OfficeColorfulThemeDefinition OfficeWhiteThemeDefinition

Constructors

OfficeThemeDefinitionBase(string, ThemeIntent)

Initializes an instance of the OfficeThemeDefinitionBase class.

protected OfficeThemeDefinitionBase(string themeName, ThemeIntent intent)
Parameter Type Description
themeName string

The theme's name.

intent ThemeIntent

The theme intent.

Methods

ResetColorPaletteKind()

Resets the related property to its default value.

public override void ResetColorPaletteKind()

ResetGrayMin()

Resets the related property to its default value.

public override void ResetGrayMin()

ResetGraySilverRatio()

Resets the related property to its default value.

public override void ResetGraySilverRatio()

ResetRequireDarkerBorders()

Resets the related property to its default value.

public override void ResetRequireDarkerBorders()

ShouldSerializeColorPaletteKind()

Returns whether the related property has a non-default value.

public override bool ShouldSerializeColorPaletteKind()

Returns

bool:

true if the related property has a non-default value; otherwise, false.

ShouldSerializeGrayMin()

Returns whether the related property has a non-default value.

public override bool ShouldSerializeGrayMin()

Returns

bool:

true if the related property has a non-default value; otherwise, false.

ShouldSerializeGraySilverRatio()

Returns whether the related property has a non-default value.

public override bool ShouldSerializeGraySilverRatio()

Returns

bool:

true if the related property has a non-default value; otherwise, false.

ShouldSerializeRequireDarkerBorders()

Returns whether the related property has a non-default value.

public override bool ShouldSerializeRequireDarkerBorders()

Returns

bool:

true if the related property has a non-default value; otherwise, false.

Inherited Members