In This Article

MetroThemeDefinition Class

Stores the configuration options for a Metro theme.

public class MetroThemeDefinition : RectangularThemeDefinitionBase, INotifyPropertyChanged
Inheritance:
Object ObservableObjectBase ThemeDefinition RectangularThemeDefinitionBase Object

Constructors

MetroThemeDefinition(String)

Initializes an instance of the MetroThemeDefinition class.

public MetroThemeDefinition(string themeName)
Parameter Type Description
themeName String

The theme's name.

MetroThemeDefinition(String, ThemeIntent)

Initializes an instance of the MetroThemeDefinition class.

public MetroThemeDefinition(string themeName, ThemeIntent intent)
Parameter Type Description
themeName String

The theme's name.

intent ThemeIntent

The theme intent.

Methods

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

ResetStatusBarBackgroundKind()

Resets the related property to its default value.

public override void ResetStatusBarBackgroundKind()

ResetWindowBorderKind()

Resets the related property to its default value.

public override void ResetWindowBorderKind()

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.

ShouldSerializeStatusBarBackgroundKind()

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

public override bool ShouldSerializeStatusBarBackgroundKind()

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.

Inherited Members