In This Article

OfficeThemeDefinitionBase Class

Stores the base configuration options for an Office theme.

public abstract class OfficeThemeDefinitionBase : RectangularThemeDefinitionBase, INotifyPropertyChanged
Inheritance:
Object ObservableObjectBase ThemeDefinition RectangularThemeDefinitionBase 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

Boolean:

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

Boolean:

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

Boolean:

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

Boolean:

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

Inherited Members