BitmapPalette::Colors Property

 

Get the colors defined in a palette.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property IList<Color>^ Colors {
	IList<Color>^ get();
}

Property Value

Type: System.Collections.Generic::IList<Color>^

The list of colors defined in a palette.

The following example demonstrates how to define a custom BitmapPalette and apply it to a new BitmapSource.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: