ColorPaletteResources Class
Definition
Represents a specialized resource dictionary that contains color resources used by XAML elements.
Equivalent WinUI class: Microsoft.UI.Xaml.ColorPaletteResources.
/// [Windows.Foundation.Metadata.Composable(Windows.UI.Xaml.IColorPaletteResourcesFactory, Windows.Foundation.Metadata.CompositionType.Public, 458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class ColorPaletteResources : ResourceDictionary
[Windows.Foundation.Metadata.Composable(typeof(Windows.UI.Xaml.IColorPaletteResourcesFactory), Windows.Foundation.Metadata.CompositionType.Public, 458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.WebHostHidden]
public class ColorPaletteResources : ResourceDictionary
Public Class ColorPaletteResources
Inherits ResourceDictionary
- Inheritance
- Attributes
Windows 10 requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Constructors
ColorPaletteResources() |
Initializes a new instance of the ColorPaletteResources class. Equivalent WinUI constructor: Microsoft.UI.Xaml.ColorPaletteResources.ColorPaletteResources. |
Properties
Accent |
Gets or sets the Accent color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.Accent. |
AltHigh |
Gets or sets the AltHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.AltHigh. |
AltLow |
Gets or sets the AltLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.AltLow. |
AltMedium |
Gets or sets the AltMedium color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.AltMedium. |
AltMediumHigh |
Gets or sets the AltMediumHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.AltMediumHigh. |
AltMediumLow |
Gets or sets the AltMediumLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.AltMediumLow. |
BaseHigh |
Gets or sets the BaseHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.BaseHigh. |
BaseLow |
Gets or sets the BaseLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.BaseLow. |
BaseMedium |
Gets or sets the BaseMedium color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.BaseMedium. |
BaseMediumHigh |
Gets or sets the BaseMediumHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.BaseMediumHigh. |
BaseMediumLow |
Gets or sets the BaseMediumLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.BaseMediumLow. |
ChromeAltLow |
Gets or sets the ChromeAltLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeAltLow. |
ChromeBlackHigh |
Gets or sets the ChromeBlackHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeBlackHigh. |
ChromeBlackLow |
Gets or sets the ChromeBlackLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeBlackLow. |
ChromeBlackMedium |
Gets or sets the ChromeBlackMedium color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeBlackMedium. |
ChromeBlackMediumLow |
Gets or sets the ChromeBlackMediumLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeBlackMediumLow. |
ChromeDisabledHigh |
Gets or sets the ChromeDisabledHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeDisabledHigh. |
ChromeDisabledLow |
Gets or sets the ChromeDisabledLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeDisabledLow. |
ChromeGray |
Gets or sets the ChromeGray color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeGray. |
ChromeHigh |
Gets or sets the ChromeHigh color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeHigh. |
ChromeLow |
Gets or sets the ChromeLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeLow. |
ChromeMedium |
Gets or sets the ChromeMedium color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeMedium. |
ChromeMediumLow |
Gets or sets the ChromeMediumLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeMediumLow. |
ChromeWhite |
Gets or sets the ChromeWhite color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ChromeWhite. |
Dispatcher |
Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread. Equivalent WinUI property: Microsoft.UI.Xaml.DependencyObject.Dispatcher. (Inherited from DependencyObject) |
ErrorText |
Gets or sets the ErrorText color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ErrorText. |
ListLow |
Gets or sets the ListLow color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ListLow. |
ListMedium |
Gets or sets the ListMedium color value. Equivalent WinUI property: Microsoft.UI.Xaml.ColorPaletteResources.ListMedium. |
MergedDictionaries |
Gets a collection of the ResourceDictionary dictionaries that constitute the various resource dictionaries in the merged dictionaries. Equivalent WinUI property: Microsoft.UI.Xaml.ResourceDictionary.MergedDictionaries. (Inherited from ResourceDictionary) |
Size |
Gets the number of elements contained in the collection. Equivalent WinUI property: Microsoft.UI.Xaml.ResourceDictionary.Size. (Inherited from ResourceDictionary) |
Source |
Gets or sets a Uniform Resource Identifier (URI) that provides the source location of a merged resource dictionary. Equivalent WinUI property: Microsoft.UI.Xaml.ResourceDictionary.Source. (Inherited from ResourceDictionary) |
ThemeDictionaries |
Gets a collection of merged resource dictionaries that are specifically keyed and composed to address theme scenarios, for example supplying theme values for "HighContrast". Equivalent WinUI property: Microsoft.UI.Xaml.ResourceDictionary.ThemeDictionaries. (Inherited from ResourceDictionary) |