The TerminalPalette type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkTerminalPalette()()()()
Creates a palette with standard ANSI colors in the first 16 entries and xterm colors in the higher 240 entries.
Public methodSupported by the .NET Compact FrameworkTerminalPalette(Int32)
Creates a palette with standard ANSI colors in the first 16 entries and xterm colors in the higher 240 entries. Useful for specifying custom colors above 256 system colors.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetColor
Gets the palette color at the specified index.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSetColor
Sets the palette color at the specified index. Please note that the default Ansi and Dos palettes are read-only - create a new palette to set colors.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberSupported by the .NET Compact FrameworkAnsi
Gets the palette with standard ANSI colors in the first 16 entries and xterm colors in the higher entries.
Public propertyStatic memberSupported by the .NET Compact FrameworkDos
Gets the palette with standard MS-DOS colors in the first 16 entries and xterm colors in the higher entries.
Public propertySupported by the .NET Compact FrameworkItem
Gets the palette color at the specified index.
Public propertyStatic memberSupported by the .NET Compact FrameworkPick
Gets the palette with standard Pick colors in the first 16 entries and xterm colors in the higher entries.
Public propertyStatic memberSupported by the .NET Compact FrameworkSco
Gets the palette with standard SCO colors in the first 16 entries and xterm colors in the higher entries.

See Also