BitmapPalette::Colors Property
.NET Framework (current version)
Get the colors defined in a palette.
Assembly: PresentationCore (in PresentationCore.dll)
The following example demonstrates how to define a custom BitmapPalette and apply it to a new BitmapSource.
.NET Framework
Available since 3.0
Available since 3.0
Show: