In This Article

OfficeColorfulThemeDefinition Class

Stores the configuration options for an Office Colorful theme.

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

ResetBarItemBackgroundStateKind()

Resets the related property to its default value.

public override void ResetBarItemBackgroundStateKind()

ResetListItemBackgroundStateKind()

Resets the related property to its default value.

public override void ResetListItemBackgroundStateKind()

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()

ShouldSerializeBarItemBackgroundStateKind()

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

public override bool ShouldSerializeBarItemBackgroundStateKind()

Returns

Boolean:

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

ShouldSerializeListItemBackgroundStateKind()

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

public override bool ShouldSerializeListItemBackgroundStateKind()

Returns

Boolean:

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

ShouldSerializePrimaryAccentColorFamilyName()

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

public override bool ShouldSerializePrimaryAccentColorFamilyName()

Returns

Boolean:

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

Boolean:

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

Boolean:

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

Boolean:

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

Inherited Members