In This Article

RectangularThemeDefinitionBase Class

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

public abstract class RectangularThemeDefinitionBase : ThemeDefinition, INotifyPropertyChanged
Inheritance:
Object ObservableObjectBase ThemeDefinition Object
Derived:
HighContrastThemeDefinition MetroThemeDefinition OfficeThemeDefinitionBase

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

Boolean:

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

Boolean:

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

Boolean:

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

Boolean:

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

Boolean:

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

Inherited Members