FluentColorPalette Class

Definition

Implements the standard Windows 10 color palette.

public class FluentColorPalette : Microsoft.Toolkit.Uwp.UI.Controls.IColorPalette
type FluentColorPalette = class
    interface IColorPalette
Public Class FluentColorPalette
Implements IColorPalette
Inheritance
FluentColorPalette
Implements

Constructors

FluentColorPalette()

Fields

DefaultShadeIndex

Gets the index of the default shade of colors in this palette. This has little meaning in this palette as colors are not strictly separated by shade.

Properties

ColorCount

Gets the total number of colors in this palette. A color is not necessarily a single value and may be composed of several shades. This has little meaning in this palette as colors are not strictly separated.

ShadeCount

Gets the total number of shades for each color in this palette. Shades are usually a variation of the color lightening or darkening it. This has little meaning in this palette as colors are not strictly separated by shade.

Methods

GetColor(Int32, Int32)

Gets a color in the palette by index.

Applies to