VSColorTable Class
Provides colors that are used for Visual Studio display elements.
Inheritance Hierarchy
System.Object
System.Windows.Forms.ProfessionalColorTable
Microsoft.VisualStudio.VSColorTable
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio (in Microsoft.VisualStudio.dll)
Syntax
'Declaration
Public Class VSColorTable _
Inherits ProfessionalColorTable
public class VSColorTable : ProfessionalColorTable
public ref class VSColorTable : public ProfessionalColorTable
type VSColorTable =
class
inherit ProfessionalColorTable
end
public class VSColorTable extends ProfessionalColorTable
The VSColorTable type exposes the following members.
Properties
Name | Description | |
---|---|---|
ButtonCheckedGradientBegin | Gets the starting color of the gradient used when the button is checked. (Overrides ProfessionalColorTable.ButtonCheckedGradientBegin.) | |
ButtonCheckedGradientEnd | Gets the end color of the gradient used when the button is checked. (Overrides ProfessionalColorTable.ButtonCheckedGradientEnd.) | |
ButtonCheckedGradientMiddle | Gets the middle color of the gradient used when the button is checked. (Overrides ProfessionalColorTable.ButtonCheckedGradientMiddle.) | |
ButtonCheckedHighlight | Gets the solid color used when the button is checked. (Inherited from ProfessionalColorTable.) | |
ButtonCheckedHighlightBorder | Gets the border color to use with ButtonCheckedHighlight. (Inherited from ProfessionalColorTable.) | |
ButtonFace | Gets the color used to draw the face of a 3-D element. | |
ButtonPressedBorder | Gets the border color to use with the ButtonPressedGradientBegin, ButtonPressedGradientMiddle, and ButtonPressedGradientEnd colors. (Overrides ProfessionalColorTable.ButtonPressedBorder.) | |
ButtonPressedGradientBegin | Gets the starting color of the gradient used when the button is pressed. (Overrides ProfessionalColorTable.ButtonPressedGradientBegin.) | |
ButtonPressedGradientEnd | Gets the end color of the gradient used when the button is pressed. (Overrides ProfessionalColorTable.ButtonPressedGradientEnd.) | |
ButtonPressedGradientMiddle | Gets the middle color of the gradient used when the button is pressed. (Overrides ProfessionalColorTable.ButtonPressedGradientMiddle.) | |
ButtonPressedHighlight | Gets the solid color used when the button is pressed. (Inherited from ProfessionalColorTable.) | |
ButtonPressedHighlightBorder | Gets the border color to use with ButtonPressedHighlight. (Inherited from ProfessionalColorTable.) | |
ButtonSelectedBorder | Gets the border color to use with the ButtonSelectedGradientBegin, ButtonSelectedGradientMiddle, and ButtonSelectedGradientEnd colors. (Overrides ProfessionalColorTable.ButtonSelectedBorder.) | |
ButtonSelectedGradientBegin | Gets the starting color of the gradient used when the button is selected. (Overrides ProfessionalColorTable.ButtonSelectedGradientBegin.) | |
ButtonSelectedGradientEnd | Gets the end color of the gradient used when the button is selected. (Overrides ProfessionalColorTable.ButtonSelectedGradientEnd.) | |
ButtonSelectedGradientMiddle | Gets the middle color of the gradient used when the button is selected. (Overrides ProfessionalColorTable.ButtonSelectedGradientMiddle.) | |
ButtonSelectedHighlight | Gets the solid color used when the button is selected. (Overrides ProfessionalColorTable.ButtonSelectedHighlight.) | |
ButtonSelectedHighlightBorder | Gets the border color to use with ButtonSelectedHighlight. (Inherited from ProfessionalColorTable.) | |
ButtonText | Gets the color used to draw the text in a 3-D element. | |
CheckBackground | Gets the solid color to use when the button is checked and gradients are being used. (Overrides ProfessionalColorTable.CheckBackground.) | |
CheckPressedBackground | Gets the solid color to use when the button is checked and selected and gradients are being used. (Overrides ProfessionalColorTable.CheckPressedBackground.) | |
CheckSelectedBackground | Gets the solid color to use when the button is checked and selected and gradients are being used. (Overrides ProfessionalColorTable.CheckSelectedBackground.) | |
GripDark | Gets the color to use for shadow effects on the grip (move handle). (Overrides ProfessionalColorTable.GripDark.) | |
GripLight | Gets the color to use for highlight effects on the grip (move handle). (Overrides ProfessionalColorTable.GripLight.) | |
Highlight | Gets the color used to draw the background of selected items. | |
HighlightText | Gets the color used to draw the text of selected items. | |
ImageMarginGradientBegin | Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu. (Overrides ProfessionalColorTable.ImageMarginGradientBegin.) | |
ImageMarginGradientEnd | Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu. (Overrides ProfessionalColorTable.ImageMarginGradientEnd.) | |
ImageMarginGradientMiddle | Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu. (Overrides ProfessionalColorTable.ImageMarginGradientMiddle.) | |
ImageMarginRevealedGradientBegin | Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed. (Inherited from ProfessionalColorTable.) | |
ImageMarginRevealedGradientEnd | Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed. (Inherited from ProfessionalColorTable.) | |
ImageMarginRevealedGradientMiddle | Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed. (Inherited from ProfessionalColorTable.) | |
MenuBorder | Gets the color that is the border color to use on a MenuStrip. (Overrides ProfessionalColorTable.MenuBorder.) | |
MenuItemBorder | Gets the border color to use with a ToolStripMenuItem. (Overrides ProfessionalColorTable.MenuItemBorder.) | |
MenuItemPressedGradientBegin | Gets the starting color of the gradient used when a top-level ToolStripMenuItem is pressed. (Inherited from ProfessionalColorTable.) | |
MenuItemPressedGradientEnd | Gets the end color of the gradient used when a top-level ToolStripMenuItem is pressed. (Inherited from ProfessionalColorTable.) | |
MenuItemPressedGradientMiddle | Gets the middle color of the gradient used when a top-level ToolStripMenuItem is pressed. (Inherited from ProfessionalColorTable.) | |
MenuItemSelected | Gets the solid color to use when a ToolStripMenuItem other than the top-level ToolStripMenuItem is selected. (Overrides ProfessionalColorTable.MenuItemSelected.) | |
MenuItemSelectedGradientBegin | Gets the starting color of the gradient used when the ToolStripMenuItem is selected. (Overrides ProfessionalColorTable.MenuItemSelectedGradientBegin.) | |
MenuItemSelectedGradientEnd | Gets the end color of the gradient used when the ToolStripMenuItem is selected. (Overrides ProfessionalColorTable.MenuItemSelectedGradientEnd.) | |
MenuStripGradientBegin | Gets the starting color of the gradient used in the MenuStrip. (Overrides ProfessionalColorTable.MenuStripGradientBegin.) | |
MenuStripGradientEnd | Gets the end color of the gradient used in the MenuStrip. (Overrides ProfessionalColorTable.MenuStripGradientEnd.) | |
OverflowButtonGradientBegin | Gets the starting color of the gradient used in the ToolStripOverflowButton. (Overrides ProfessionalColorTable.OverflowButtonGradientBegin.) | |
OverflowButtonGradientEnd | Gets the end color of the gradient used in the ToolStripOverflowButton. (Overrides ProfessionalColorTable.OverflowButtonGradientEnd.) | |
OverflowButtonGradientMiddle | Gets the middle color of the gradient used in the ToolStripOverflowButton. (Overrides ProfessionalColorTable.OverflowButtonGradientMiddle.) | |
RaftingContainerGradientBegin | Gets the starting color of the gradient used in the ToolStripContainer. (Overrides ProfessionalColorTable.RaftingContainerGradientBegin.) | |
RaftingContainerGradientEnd | Gets the end color of the gradient used in the ToolStripContainer. (Overrides ProfessionalColorTable.RaftingContainerGradientEnd.) | |
SeparatorDark | Gets the color to use to for shadow effects on the ToolStripSeparator. (Overrides ProfessionalColorTable.SeparatorDark.) | |
SeparatorLight | Gets the color to use to for highlight effects on the ToolStripSeparator. (Overrides ProfessionalColorTable.SeparatorLight.) | |
StatusStripGradientBegin | Gets the starting color of the gradient used on the StatusStrip. (Inherited from ProfessionalColorTable.) | |
StatusStripGradientEnd | Gets the end color of the gradient used on the StatusStrip. (Inherited from ProfessionalColorTable.) | |
ToolStripBorder | Gets the border color to use on the bottom edge of the ToolStrip. (Overrides ProfessionalColorTable.ToolStripBorder.) | |
ToolStripContentPanelGradientBegin | Gets the starting color of the gradient used in the ToolStripContentPanel. (Inherited from ProfessionalColorTable.) | |
ToolStripContentPanelGradientEnd | Gets the end color of the gradient used in the ToolStripContentPanel. (Inherited from ProfessionalColorTable.) | |
ToolStripDropDownBackground | Gets the solid background color of the ToolStripDropDown. (Overrides ProfessionalColorTable.ToolStripDropDownBackground.) | |
ToolStripGradientBegin | Gets the starting color of the gradient used in the ToolStrip background. (Overrides ProfessionalColorTable.ToolStripGradientBegin.) | |
ToolStripGradientEnd | Gets the end color of the gradient used in the ToolStrip background. (Overrides ProfessionalColorTable.ToolStripGradientEnd.) | |
ToolStripGradientMiddle | Gets the middle color of the gradient used in the ToolStrip background. (Overrides ProfessionalColorTable.ToolStripGradientMiddle.) | |
ToolStripPanelGradientBegin | Gets the starting color of the gradient used in the ToolStripPanel. (Inherited from ProfessionalColorTable.) | |
ToolStripPanelGradientEnd | Gets the end color of the gradient used in the ToolStripPanel. (Inherited from ProfessionalColorTable.) | |
ToolWindowBackground | Gets the color used to draw the background of a tool window. | |
ToolWindowText | Gets the color used to draw text on the background of a tool window. | |
UseSystemColors | Gets or sets a value indicating whether to use SystemColors rather than colors that match the current visual style. (Inherited from ProfessionalColorTable.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The IUIService interface should be used to obtain an instance of VSColorTable. The VSColorTable can be accessed by using IUIService. Styles["VSColorTable"].
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.