Uredi

Deli z drugimi prek


ProfessionalColorTable Class

Definition

Provides colors used for Microsoft Office display elements.

public ref class ProfessionalColorTable
public class ProfessionalColorTable
type ProfessionalColorTable = class
Public Class ProfessionalColorTable
Inheritance
ProfessionalColorTable

Remarks

An instance of this class is called by ToolStripProfessionalRenderer.

Constructors

ProfessionalColorTable()

Initializes a new instance of the ProfessionalColorTable class.

Properties

ButtonCheckedGradientBegin

Gets the starting color of the gradient used when the button is checked.

ButtonCheckedGradientEnd

Gets the end color of the gradient used when the button is checked.

ButtonCheckedGradientMiddle

Gets the middle color of the gradient used when the button is checked.

ButtonCheckedHighlight

Gets the solid color used when the button is checked.

ButtonCheckedHighlightBorder

Gets the border color to use with ButtonCheckedHighlight.

ButtonPressedBorder

Gets the border color to use with the ButtonPressedGradientBegin, ButtonPressedGradientMiddle, and ButtonPressedGradientEnd colors.

ButtonPressedGradientBegin

Gets the starting color of the gradient used when the button is pressed.

ButtonPressedGradientEnd

Gets the end color of the gradient used when the button is pressed.

ButtonPressedGradientMiddle

Gets the middle color of the gradient used when the button is pressed.

ButtonPressedHighlight

Gets the solid color used when the button is pressed.

ButtonPressedHighlightBorder

Gets the border color to use with ButtonPressedHighlight.

ButtonSelectedBorder

Gets the border color to use with the ButtonSelectedGradientBegin, ButtonSelectedGradientMiddle, and ButtonSelectedGradientEnd colors.

ButtonSelectedGradientBegin

Gets the starting color of the gradient used when the button is selected.

ButtonSelectedGradientEnd

Gets the end color of the gradient used when the button is selected.

ButtonSelectedGradientMiddle

Gets the middle color of the gradient used when the button is selected.

ButtonSelectedHighlight

Gets the solid color used when the button is selected.

ButtonSelectedHighlightBorder

Gets the border color to use with ButtonSelectedHighlight.

CheckBackground

Gets the solid color to use when the button is checked and gradients are being used.

CheckPressedBackground

Gets the solid color to use when the button is checked and selected and gradients are being used.

CheckSelectedBackground

Gets the solid color to use when the button is checked and selected and gradients are being used.

GripDark

Gets the color to use for shadow effects on the grip (move handle).

GripLight

Gets the color to use for highlight effects on the grip (move handle).

ImageMarginGradientBegin

Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu.

ImageMarginGradientEnd

Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu.

ImageMarginGradientMiddle

Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu.

ImageMarginRevealedGradientBegin

Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.

ImageMarginRevealedGradientEnd

Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.

ImageMarginRevealedGradientMiddle

Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.

MenuBorder

Gets the color that is the border color to use on a MenuStrip.

MenuItemBorder

Gets the border color to use with a ToolStripMenuItem.

MenuItemPressedGradientBegin

Gets the starting color of the gradient used when a top-level ToolStripMenuItem is pressed.

MenuItemPressedGradientEnd

Gets the end color of the gradient used when a top-level ToolStripMenuItem is pressed.

MenuItemPressedGradientMiddle

Gets the middle color of the gradient used when a top-level ToolStripMenuItem is pressed.

MenuItemSelected

Gets the solid color to use when a ToolStripMenuItem other than the top-level ToolStripMenuItem is selected.

MenuItemSelectedGradientBegin

Gets the starting color of the gradient used when the ToolStripMenuItem is selected.

MenuItemSelectedGradientEnd

Gets the end color of the gradient used when the ToolStripMenuItem is selected.

MenuStripGradientBegin

Gets the starting color of the gradient used in the MenuStrip.

MenuStripGradientEnd

Gets the end color of the gradient used in the MenuStrip.

OverflowButtonGradientBegin

Gets the starting color of the gradient used in the ToolStripOverflowButton.

OverflowButtonGradientEnd

Gets the end color of the gradient used in the ToolStripOverflowButton.

OverflowButtonGradientMiddle

Gets the middle color of the gradient used in the ToolStripOverflowButton.

RaftingContainerGradientBegin

Gets the starting color of the gradient used in the ToolStripContainer.

RaftingContainerGradientEnd

Gets the end color of the gradient used in the ToolStripContainer.

SeparatorDark

Gets the color to use to for shadow effects on the ToolStripSeparator.

SeparatorLight

Gets the color to use to for highlight effects on the ToolStripSeparator.

StatusStripBorder
StatusStripGradientBegin

Gets the starting color of the gradient used on the StatusStrip.

StatusStripGradientEnd

Gets the end color of the gradient used on the StatusStrip.

ToolStripBorder

Gets the border color to use on the bottom edge of the ToolStrip.

ToolStripContentPanelGradientBegin

Gets the starting color of the gradient used in the ToolStripContentPanel.

ToolStripContentPanelGradientEnd

Gets the end color of the gradient used in the ToolStripContentPanel.

ToolStripDropDownBackground

Gets the solid background color of the ToolStripDropDown.

ToolStripGradientBegin

Gets the starting color of the gradient used in the ToolStrip background.

ToolStripGradientEnd

Gets the end color of the gradient used in the ToolStrip background.

ToolStripGradientMiddle

Gets the middle color of the gradient used in the ToolStrip background.

ToolStripPanelGradientBegin

Gets the starting color of the gradient used in the ToolStripPanel.

ToolStripPanelGradientEnd

Gets the end color of the gradient used in the ToolStripPanel.

UseSystemColors

Gets or sets a value indicating whether to use SystemColors rather than colors that match the current visual style.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)

Applies to

See also