Export (0) Print
Expand All

ProfessionalColorTable Class

Provides colors used for Microsoft Office display elements.

System.Object
  System.Windows.Forms.ProfessionalColorTable

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public class ProfessionalColorTable

The ProfessionalColorTable type exposes the following members.

  NameDescription
Public methodProfessionalColorTableInitializes a new instance of the ProfessionalColorTable class.
Top

  NameDescription
Public propertyButtonCheckedGradientBeginGets the starting color of the gradient used when the button is checked.
Public propertyButtonCheckedGradientEndGets the end color of the gradient used when the button is checked.
Public propertyButtonCheckedGradientMiddleGets the middle color of the gradient used when the button is checked.
Public propertyButtonCheckedHighlightGets the solid color used when the button is checked.
Public propertyButtonCheckedHighlightBorderGets the border color to use with ButtonCheckedHighlight.
Public propertyButtonPressedBorderGets the border color to use with the ButtonPressedGradientBegin, ButtonPressedGradientMiddle, and ButtonPressedGradientEnd colors.
Public propertyButtonPressedGradientBeginGets the starting color of the gradient used when the button is pressed.
Public propertyButtonPressedGradientEndGets the end color of the gradient used when the button is pressed.
Public propertyButtonPressedGradientMiddleGets the middle color of the gradient used when the button is pressed.
Public propertyButtonPressedHighlightGets the solid color used when the button is pressed.
Public propertyButtonPressedHighlightBorderGets the border color to use with ButtonPressedHighlight.
Public propertyButtonSelectedBorderGets the border color to use with the ButtonSelectedGradientBegin, ButtonSelectedGradientMiddle, and ButtonSelectedGradientEnd colors.
Public propertyButtonSelectedGradientBeginGets the starting color of the gradient used when the button is selected.
Public propertyButtonSelectedGradientEndGets the end color of the gradient used when the button is selected.
Public propertyButtonSelectedGradientMiddleGets the middle color of the gradient used when the button is selected.
Public propertyButtonSelectedHighlightGets the solid color used when the button is selected.
Public propertyButtonSelectedHighlightBorderGets the border color to use with ButtonSelectedHighlight.
Public propertyCheckBackgroundGets the solid color to use when the button is checked and gradients are being used.
Public propertyCheckPressedBackgroundGets the solid color to use when the button is checked and selected and gradients are being used.
Public propertyCheckSelectedBackgroundGets the solid color to use when the button is checked and selected and gradients are being used.
Public propertyGripDarkGets the color to use for shadow effects on the grip (move handle).
Public propertyGripLightGets the color to use for highlight effects on the grip (move handle).
Public propertyImageMarginGradientBeginGets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu.
Public propertyImageMarginGradientEndGets the end color of the gradient used in the image margin of a ToolStripDropDownMenu.
Public propertyImageMarginGradientMiddleGets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu.
Public propertyImageMarginRevealedGradientBeginGets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.
Public propertyImageMarginRevealedGradientEndGets the end color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.
Public propertyImageMarginRevealedGradientMiddleGets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.
Public propertyMenuBorderGets the color that is the border color to use on a MenuStrip.
Public propertyMenuItemBorderGets the border color to use with a ToolStripMenuItem.
Public propertyMenuItemPressedGradientBeginGets the starting color of the gradient used when a top-level ToolStripMenuItem is pressed.
Public propertyMenuItemPressedGradientEndGets the end color of the gradient used when a top-level ToolStripMenuItem is pressed.
Public propertyMenuItemPressedGradientMiddleGets the middle color of the gradient used when a top-level ToolStripMenuItem is pressed.
Public propertyMenuItemSelectedGets the solid color to use when a ToolStripMenuItem other than the top-level ToolStripMenuItem is selected.
Public propertyMenuItemSelectedGradientBeginGets the starting color of the gradient used when the ToolStripMenuItem is selected.
Public propertyMenuItemSelectedGradientEndGets the end color of the gradient used when the ToolStripMenuItem is selected.
Public propertyMenuStripGradientBeginGets the starting color of the gradient used in the MenuStrip.
Public propertyMenuStripGradientEndGets the end color of the gradient used in the MenuStrip.
Public propertyOverflowButtonGradientBeginGets the starting color of the gradient used in the ToolStripOverflowButton.
Public propertyOverflowButtonGradientEndGets the end color of the gradient used in the ToolStripOverflowButton.
Public propertyOverflowButtonGradientMiddleGets the middle color of the gradient used in the ToolStripOverflowButton.
Public propertyRaftingContainerGradientBeginGets the starting color of the gradient used in the ToolStripContainer.
Public propertyRaftingContainerGradientEndGets the end color of the gradient used in the ToolStripContainer.
Public propertySeparatorDarkGets the color to use to for shadow effects on the ToolStripSeparator.
Public propertySeparatorLightGets the color to use to for highlight effects on the ToolStripSeparator.
Public propertyStatusStripGradientBeginGets the starting color of the gradient used on the StatusStrip.
Public propertyStatusStripGradientEndGets the end color of the gradient used on the StatusStrip.
Public propertyToolStripBorderGets the border color to use on the bottom edge of the ToolStrip.
Public propertyToolStripContentPanelGradientBeginGets the starting color of the gradient used in the ToolStripContentPanel.
Public propertyToolStripContentPanelGradientEndGets the end color of the gradient used in the ToolStripContentPanel.
Public propertyToolStripDropDownBackgroundGets the solid background color of the ToolStripDropDown.
Public propertyToolStripGradientBeginGets the starting color of the gradient used in the ToolStrip background.
Public propertyToolStripGradientEndGets the end color of the gradient used in the ToolStrip background.
Public propertyToolStripGradientMiddleGets the middle color of the gradient used in the ToolStrip background.
Public propertyToolStripPanelGradientBeginGets the starting color of the gradient used in the ToolStripPanel.
Public propertyToolStripPanelGradientEndGets the end color of the gradient used in the ToolStripPanel.
Public propertyUseSystemColorsGets or sets a value indicating whether to use SystemColors rather than colors that match the current visual style.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

An instance of this class is called by ToolStripProfessionalRenderer.

.NET Framework

Supported in: 4.5.3, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft