ProfessionalColorTable ProfessionalColorTable ProfessionalColorTable ProfessionalColorTable Class

定义

提供用于 Microsoft Office 显示元素的颜色。Provides colors used for Microsoft Office display elements.

public ref class ProfessionalColorTable
public class ProfessionalColorTable
type ProfessionalColorTable = class
Public Class ProfessionalColorTable
继承
ProfessionalColorTableProfessionalColorTableProfessionalColorTableProfessionalColorTable

注解

此类的实例称为ToolStripProfessionalRendererAn instance of this class is called by ToolStripProfessionalRenderer.

构造函数

ProfessionalColorTable() ProfessionalColorTable() ProfessionalColorTable() ProfessionalColorTable()

初始化 ProfessionalColorTable 类的新实例。Initializes a new instance of the ProfessionalColorTable class.

属性

ButtonCheckedGradientBegin ButtonCheckedGradientBegin ButtonCheckedGradientBegin ButtonCheckedGradientBegin

获取按钮被选中时使用的渐变的开始颜色。Gets the starting color of the gradient used when the button is checked.

ButtonCheckedGradientEnd ButtonCheckedGradientEnd ButtonCheckedGradientEnd ButtonCheckedGradientEnd

获取按钮被选中时使用的渐变的结束颜色。Gets the end color of the gradient used when the button is checked.

ButtonCheckedGradientMiddle ButtonCheckedGradientMiddle ButtonCheckedGradientMiddle ButtonCheckedGradientMiddle

获取按钮被选中时使用的渐变的中间颜色。Gets the middle color of the gradient used when the button is checked.

ButtonCheckedHighlight ButtonCheckedHighlight ButtonCheckedHighlight ButtonCheckedHighlight

获取按钮被选中时使用的纯色。Gets the solid color used when the button is checked.

ButtonCheckedHighlightBorder ButtonCheckedHighlightBorder ButtonCheckedHighlightBorder ButtonCheckedHighlightBorder

获取用于 ButtonCheckedHighlight 的边框颜色。Gets the border color to use with ButtonCheckedHighlight.

ButtonPressedBorder ButtonPressedBorder ButtonPressedBorder ButtonPressedBorder

获取用于 ButtonPressedGradientBeginButtonPressedGradientMiddleButtonPressedGradientEnd 颜色的边框颜色。Gets the border color to use with the ButtonPressedGradientBegin, ButtonPressedGradientMiddle, and ButtonPressedGradientEnd colors.

ButtonPressedGradientBegin ButtonPressedGradientBegin ButtonPressedGradientBegin ButtonPressedGradientBegin

获取按钮被按下时使用的渐变的开始颜色。Gets the starting color of the gradient used when the button is pressed.

ButtonPressedGradientEnd ButtonPressedGradientEnd ButtonPressedGradientEnd ButtonPressedGradientEnd

获取按钮被按下时使用的渐变的结束颜色。Gets the end color of the gradient used when the button is pressed.

ButtonPressedGradientMiddle ButtonPressedGradientMiddle ButtonPressedGradientMiddle ButtonPressedGradientMiddle

获取按钮被按下时使用的渐变的中间颜色。Gets the middle color of the gradient used when the button is pressed.

ButtonPressedHighlight ButtonPressedHighlight ButtonPressedHighlight ButtonPressedHighlight

获取按钮被按下时使用的纯色。Gets the solid color used when the button is pressed.

ButtonPressedHighlightBorder ButtonPressedHighlightBorder ButtonPressedHighlightBorder ButtonPressedHighlightBorder

获取用于 ButtonPressedHighlight 的边框颜色。Gets the border color to use with ButtonPressedHighlight.

ButtonSelectedBorder ButtonSelectedBorder ButtonSelectedBorder ButtonSelectedBorder

获取用于 ButtonSelectedGradientBeginButtonSelectedGradientMiddleButtonSelectedGradientEnd 颜色的边框颜色。Gets the border color to use with the ButtonSelectedGradientBegin, ButtonSelectedGradientMiddle, and ButtonSelectedGradientEnd colors.

ButtonSelectedGradientBegin ButtonSelectedGradientBegin ButtonSelectedGradientBegin ButtonSelectedGradientBegin

获取按钮被选定时使用的渐变的开始颜色。Gets the starting color of the gradient used when the button is selected.

ButtonSelectedGradientEnd ButtonSelectedGradientEnd ButtonSelectedGradientEnd ButtonSelectedGradientEnd

获取按钮被选定时使用的渐变的结束颜色。Gets the end color of the gradient used when the button is selected.

ButtonSelectedGradientMiddle ButtonSelectedGradientMiddle ButtonSelectedGradientMiddle ButtonSelectedGradientMiddle

获取按钮被选定时使用的渐变的中间颜色。Gets the middle color of the gradient used when the button is selected.

ButtonSelectedHighlight ButtonSelectedHighlight ButtonSelectedHighlight ButtonSelectedHighlight

获取按钮被选定时使用的纯色。Gets the solid color used when the button is selected.

ButtonSelectedHighlightBorder ButtonSelectedHighlightBorder ButtonSelectedHighlightBorder ButtonSelectedHighlightBorder

获取用于 ButtonSelectedHighlight 的边框颜色。Gets the border color to use with ButtonSelectedHighlight.

CheckBackground CheckBackground CheckBackground CheckBackground

获取按钮被选中并且正在使用渐变时使用的纯色。Gets the solid color to use when the button is checked and gradients are being used.

CheckPressedBackground CheckPressedBackground CheckPressedBackground CheckPressedBackground

获取按钮被选中和选定并且正在使用渐变时使用的纯色。Gets the solid color to use when the button is checked and selected and gradients are being used.

CheckSelectedBackground CheckSelectedBackground CheckSelectedBackground CheckSelectedBackground

获取按钮被选中和选定并且正在使用渐变时使用的纯色。Gets the solid color to use when the button is checked and selected and gradients are being used.

GripDark GripDark GripDark GripDark

获取用于手柄(移动句柄)上的阴影效果的颜色。Gets the color to use for shadow effects on the grip (move handle).

GripLight GripLight GripLight GripLight

获取用于手柄(移动句柄)上的突出显示效果的颜色。Gets the color to use for highlight effects on the grip (move handle).

ImageMarginGradientBegin ImageMarginGradientBegin ImageMarginGradientBegin ImageMarginGradientBegin

获取在 ToolStripDropDownMenu 的图像边距中使用的渐变的开始颜色。Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu.

ImageMarginGradientEnd ImageMarginGradientEnd ImageMarginGradientEnd ImageMarginGradientEnd

获取在 ToolStripDropDownMenu 的图像边距中使用的渐变的结束颜色。Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu.

ImageMarginGradientMiddle ImageMarginGradientMiddle ImageMarginGradientMiddle ImageMarginGradientMiddle

获取在 ToolStripDropDownMenu 的图像边距中使用的渐变的中间颜色。Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu.

ImageMarginRevealedGradientBegin ImageMarginRevealedGradientBegin ImageMarginRevealedGradientBegin ImageMarginRevealedGradientBegin

获取在显示项时在 ToolStripDropDownMenu 的图像边距中使用的渐变的开始颜色。Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.

ImageMarginRevealedGradientEnd ImageMarginRevealedGradientEnd ImageMarginRevealedGradientEnd ImageMarginRevealedGradientEnd

获取在显示项时在 ToolStripDropDownMenu 的图像边距中使用的渐变的结束颜色。Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.

ImageMarginRevealedGradientMiddle ImageMarginRevealedGradientMiddle ImageMarginRevealedGradientMiddle ImageMarginRevealedGradientMiddle

获取在显示项时在 ToolStripDropDownMenu 的图像边距中使用的渐变的中间颜色。Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.

MenuBorder MenuBorder MenuBorder MenuBorder

获取在 MenuStrip 上使用的边框颜色。Gets the color that is the border color to use on a MenuStrip.

MenuItemBorder MenuItemBorder MenuItemBorder MenuItemBorder

获取用于 ToolStripMenuItem 的边框颜色。Gets the border color to use with a ToolStripMenuItem.

MenuItemPressedGradientBegin MenuItemPressedGradientBegin MenuItemPressedGradientBegin MenuItemPressedGradientBegin

获取顶级 ToolStripMenuItem 被按下时使用的渐变的开始颜色。Gets the starting color of the gradient used when a top-level ToolStripMenuItem is pressed.

MenuItemPressedGradientEnd MenuItemPressedGradientEnd MenuItemPressedGradientEnd MenuItemPressedGradientEnd

获取顶级 ToolStripMenuItem 被按下时使用的渐变的结束颜色。Gets the end color of the gradient used when a top-level ToolStripMenuItem is pressed.

MenuItemPressedGradientMiddle MenuItemPressedGradientMiddle MenuItemPressedGradientMiddle MenuItemPressedGradientMiddle

获取顶级 ToolStripMenuItem 被按下时使用的渐变的中间颜色。Gets the middle color of the gradient used when a top-level ToolStripMenuItem is pressed.

MenuItemSelected MenuItemSelected MenuItemSelected MenuItemSelected

获取选中除顶级 ToolStripMenuItem 之外的 ToolStripMenuItem 时,要使用的纯色。Gets the solid color to use when a ToolStripMenuItem other than the top-level ToolStripMenuItem is selected.

MenuItemSelectedGradientBegin MenuItemSelectedGradientBegin MenuItemSelectedGradientBegin MenuItemSelectedGradientBegin

获取 ToolStripMenuItem 被选定时使用的渐变的开始颜色。Gets the starting color of the gradient used when the ToolStripMenuItem is selected.

MenuItemSelectedGradientEnd MenuItemSelectedGradientEnd MenuItemSelectedGradientEnd MenuItemSelectedGradientEnd

获取 ToolStripMenuItem 被选定时使用的渐变的结束颜色。Gets the end color of the gradient used when the ToolStripMenuItem is selected.

MenuStripGradientBegin MenuStripGradientBegin MenuStripGradientBegin MenuStripGradientBegin

获取在 MenuStrip 中使用的渐变的开始颜色。Gets the starting color of the gradient used in the MenuStrip.

MenuStripGradientEnd MenuStripGradientEnd MenuStripGradientEnd MenuStripGradientEnd

获取在 MenuStrip 中使用的渐变的结束颜色。Gets the end color of the gradient used in the MenuStrip.

OverflowButtonGradientBegin OverflowButtonGradientBegin OverflowButtonGradientBegin OverflowButtonGradientBegin

获取在 ToolStripOverflowButton 中使用的渐变的开始颜色。Gets the starting color of the gradient used in the ToolStripOverflowButton.

OverflowButtonGradientEnd OverflowButtonGradientEnd OverflowButtonGradientEnd OverflowButtonGradientEnd

获取在 ToolStripOverflowButton 中使用的渐变的结束颜色。Gets the end color of the gradient used in the ToolStripOverflowButton.

OverflowButtonGradientMiddle OverflowButtonGradientMiddle OverflowButtonGradientMiddle OverflowButtonGradientMiddle

获取在 ToolStripOverflowButton 中使用的渐变的中间颜色。Gets the middle color of the gradient used in the ToolStripOverflowButton.

RaftingContainerGradientBegin RaftingContainerGradientBegin RaftingContainerGradientBegin RaftingContainerGradientBegin

获取在 ToolStripContainer 中使用的渐变的开始颜色。Gets the starting color of the gradient used in the ToolStripContainer.

RaftingContainerGradientEnd RaftingContainerGradientEnd RaftingContainerGradientEnd RaftingContainerGradientEnd

获取在 ToolStripContainer 中使用的渐变的结束颜色。Gets the end color of the gradient used in the ToolStripContainer.

SeparatorDark SeparatorDark SeparatorDark SeparatorDark

获取用于 ToolStripSeparator 上的阴影效果的颜色。Gets the color to use to for shadow effects on the ToolStripSeparator.

SeparatorLight SeparatorLight SeparatorLight SeparatorLight

获取用于 ToolStripSeparator 上的突出显示效果的颜色。Gets the color to use to for highlight effects on the ToolStripSeparator.

StatusStripGradientBegin StatusStripGradientBegin StatusStripGradientBegin StatusStripGradientBegin

获取在 StatusStrip 上使用的渐变的开始颜色。Gets the starting color of the gradient used on the StatusStrip.

StatusStripGradientEnd StatusStripGradientEnd StatusStripGradientEnd StatusStripGradientEnd

获取在 StatusStrip 上使用的渐变的结束颜色。Gets the end color of the gradient used on the StatusStrip.

ToolStripBorder ToolStripBorder ToolStripBorder ToolStripBorder

获取在 ToolStrip 的下边缘使用的边框颜色。Gets the border color to use on the bottom edge of the ToolStrip.

ToolStripContentPanelGradientBegin ToolStripContentPanelGradientBegin ToolStripContentPanelGradientBegin ToolStripContentPanelGradientBegin

获取在 ToolStripContentPanel 中使用的渐变的开始颜色。Gets the starting color of the gradient used in the ToolStripContentPanel.

ToolStripContentPanelGradientEnd ToolStripContentPanelGradientEnd ToolStripContentPanelGradientEnd ToolStripContentPanelGradientEnd

获取在 ToolStripContentPanel 中使用的渐变的结束颜色。Gets the end color of the gradient used in the ToolStripContentPanel.

ToolStripDropDownBackground ToolStripDropDownBackground ToolStripDropDownBackground ToolStripDropDownBackground

获取 ToolStripDropDown 的纯色背景色。Gets the solid background color of the ToolStripDropDown.

ToolStripGradientBegin ToolStripGradientBegin ToolStripGradientBegin ToolStripGradientBegin

获取在 ToolStrip 背景中使用的渐变的开始颜色。Gets the starting color of the gradient used in the ToolStrip background.

ToolStripGradientEnd ToolStripGradientEnd ToolStripGradientEnd ToolStripGradientEnd

获取在 ToolStrip 背景中使用的渐变的结束颜色。Gets the end color of the gradient used in the ToolStrip background.

ToolStripGradientMiddle ToolStripGradientMiddle ToolStripGradientMiddle ToolStripGradientMiddle

获取在 ToolStrip 背景中使用的渐变的中间颜色。Gets the middle color of the gradient used in the ToolStrip background.

ToolStripPanelGradientBegin ToolStripPanelGradientBegin ToolStripPanelGradientBegin ToolStripPanelGradientBegin

获取在 ToolStripPanel 中使用的渐变的开始颜色。Gets the starting color of the gradient used in the ToolStripPanel.

ToolStripPanelGradientEnd ToolStripPanelGradientEnd ToolStripPanelGradientEnd ToolStripPanelGradientEnd

获取在 ToolStripPanel 中使用的渐变的结束颜色。Gets the end color of the gradient used in the ToolStripPanel.

UseSystemColors UseSystemColors UseSystemColors UseSystemColors

获取或设置一个值,该值指示是否使用 SystemColors,而不是使用与当前视觉样式匹配的颜色。Gets or sets a value indicating whether to use SystemColors rather than colors that match the current visual style.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于

另请参阅