Skip to main content
ON

ThemePrimaryColorExtension Members

Implements a XAML markup extension that allows you to get the color theme’s primary color.

Constructors

Name Description
ThemePrimaryColorExtension() Initializes a new instance of the ThemePrimaryColorExtension class.

Properties

Name Description
Alpha Gets or sets the alpha value of the retrieved color. Inherited from ThemeColorExtensionBase.
Dark Gets or sets the tonal palette’s tone number that is used when the dark device theme is applied. Inherited from ThemeColorExtensionBase.
Light Gets or sets the tonal palette’s tone number that is used when the light device theme is applied. Inherited from ThemeColorExtensionBase.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.Object.
GetHashCode() Serves as the default hash function. Inherited from System.Object.
GetType() Gets the Type of the current instance. Inherited from System.Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
ToString() Returns a string that represents the current object. Inherited from System.Object.
See Also