Visual Basic (Declaration) | |
---|---|
Public Property Palette As Color() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color[] Palette {get; set;} |
C++/CLI | |
---|---|
public: property array<Color>^ Palette { array<Color>^ get(); void set (Colorarray<value>^ value); } |
Return Value
The palette to use.
This property is used as follows:
If you want to use the fixed palette or a fully optimized palette, set this property to null (Nothing in Visual Basic). If you want to supply the entire palette, specify ColorResolutionCommandPaletteFlags.UsePalette in the PaletteFlags property and set this property. If you want the activity to fill part of your palette with optimized colors, specify ColorResolutionCommandPaletteFlags.Optimized in the PaletteFlags property and set this property.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family