In This Article

RectangularThemeDefinitionBase Class

Stores the base configuration options for a theme with no rounded corners.

public abstract class RectangularThemeDefinitionBase : ThemeDefinition
Inheritance:
object ObservableObjectBase ThemeDefinition object
Derived:
HighContrastThemeDefinition MetroThemeDefinition

Constructors

RectangularThemeDefinitionBase(string, ThemeIntent)

Initializes an instance of the RectangularThemeDefinitionBase class.

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

The theme's name.

intent ThemeIntent

The theme intent.

Methods

ResetButtonCornerRadius()

Resets the related property to its default value.

public override void ResetButtonCornerRadius()

ResetCheckBoxCornerRadius()

Resets the related property to its default value.

public override void ResetCheckBoxCornerRadius()

ResetScrollBarThumbCornerRadius()

Resets the related property to its default value.

public override void ResetScrollBarThumbCornerRadius()

ResetTabCornerRadius()

Resets the related property to its default value.

public override void ResetTabCornerRadius()

ResetToolBarButtonCornerRadius()

Resets the related property to its default value.

public override void ResetToolBarButtonCornerRadius()

ShouldSerializeButtonCornerRadius()

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

public override bool ShouldSerializeButtonCornerRadius()

Returns

bool:

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

ShouldSerializeCheckBoxCornerRadius()

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

public override bool ShouldSerializeCheckBoxCornerRadius()

Returns

bool:

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

ShouldSerializeScrollBarThumbCornerRadius()

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

public override bool ShouldSerializeScrollBarThumbCornerRadius()

Returns

bool:

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

ShouldSerializeTabCornerRadius()

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

public override bool ShouldSerializeTabCornerRadius()

Returns

bool:

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

ShouldSerializeToolBarButtonCornerRadius()

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

public override bool ShouldSerializeToolBarButtonCornerRadius()

Returns

bool:

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

Inherited Members