In This Article

OfficeColorfulThemeDefinition Class

Stores the configuration options for an Office Colorful theme.

public class OfficeColorfulThemeDefinition : OfficeThemeDefinitionBase
Inheritance:
object ObservableObjectBase ThemeDefinition OfficeThemeDefinitionBase object

Constructors

OfficeColorfulThemeDefinition(string)

Initializes an instance of the OfficeColorfulThemeDefinition class.

public OfficeColorfulThemeDefinition(string themeName)
Parameter Type Description
themeName string

The theme's name.

OfficeColorfulThemeDefinition(string, ColorFamilyName)

Initializes an instance of the OfficeColorfulThemeDefinition class.

public OfficeColorfulThemeDefinition(string themeName, ColorFamilyName colorFamilyName)
Parameter Type Description
themeName string

The theme's name.

colorFamilyName ColorFamilyName

The color family name.

Methods

ResetPrimaryAccentColorFamilyName()

Resets the related property to its default value.

public override void ResetPrimaryAccentColorFamilyName()

ResetWindowBorderKind()

Resets the related property to its default value.

public override void ResetWindowBorderKind()

ResetWindowColorFamilyName()

Resets the related property to its default value.

public override void ResetWindowColorFamilyName()

ResetWindowTitleBarBackgroundKind()

Resets the related property to its default value.

public override void ResetWindowTitleBarBackgroundKind()

ShouldSerializePrimaryAccentColorFamilyName()

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

public override bool ShouldSerializePrimaryAccentColorFamilyName()

Returns

bool:

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

ShouldSerializeWindowBorderKind()

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

public override bool ShouldSerializeWindowBorderKind()

Returns

bool:

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

ShouldSerializeWindowColorFamilyName()

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

public override bool ShouldSerializeWindowColorFamilyName()

Returns

bool:

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

ShouldSerializeWindowTitleBarBackgroundKind()

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

public override bool ShouldSerializeWindowTitleBarBackgroundKind()

Returns

bool:

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

Inherited Members