FluentColorPalette.GetColor(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a color in the palette by index.
public Windows.UI.Color GetColor (int colorIndex, int shadeIndex);
abstract member GetColor : int * int -> Windows.UI.Color
override this.GetColor : int * int -> Windows.UI.Color
Public Function GetColor (colorIndex As Integer, shadeIndex As Integer) As Color
Parameters
- colorIndex
- Int32
The index of the color in the palette. The index must be between zero and ColorCount.
- shadeIndex
- Int32
The index of the color shade in the palette. The index must be between zero and ShadeCount.
Returns
The color at the specified index or an exception.