SPColor members

Represents a color scheme as described in an SPColor XML file. Describes color slots

The SPColor type exposes the following members.

Properties

  Name Description
Public property AccessibleDescription A textual description of the colors in the preview slots of this color palette.
Public property Colors The color slots in this palette
Public property PreviewSlot1 The color palette slot to use in the first preview slot in UI.
Public property PreviewSlot2 The color palette slot to use in the second preview slot in UI.
Public property PreviewSlot3 The color palette slot to use in the third preview slot in UI.
Public property ServerRelativeUrl The server-relative URL of this color palette if it was opened from a document library, or null otherwise.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetColorPalettesFromFolder Gets the color palettes in a given folder
Public method GetColorShadeByName Get a color from this palette by its name
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Open(SPFile) Opens an SPColor file given an SPFile
Public methodStatic member Open(SPFile, Boolean) Opens an SPColor file given an SPFile
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPColor class

Microsoft.SharePoint.Utilities namespace