This topic has not yet been rated - Rate this topic

ProfessionalColors Class

Provides Color structures that are colors of a Windows display element. This class cannot be inherited.

System.Object
  System.Windows.Forms.ProfessionalColors

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)
public sealed class ProfessionalColors

The ProfessionalColors type exposes the following members.

  Name Description
Public property Static member ButtonCheckedGradientBegin Gets the starting color of the gradient used when the button is checked.
Public property Static member ButtonCheckedGradientEnd Gets the end color of the gradient used when the button is checked.
Public property Static member ButtonCheckedGradientMiddle Gets the middle color of the gradient used when the button is checked.
Public property Static member ButtonCheckedHighlight Gets the solid color used when the button is checked.
Public property Static member ButtonCheckedHighlightBorder Gets the border color to use with ButtonCheckedHighlight.
Public property Static member ButtonPressedBorder Gets the border color to use with the ButtonPressedGradientBegin, ButtonPressedGradientMiddle, and ButtonPressedGradientEnd colors.
Public property Static member ButtonPressedGradientBegin Gets the starting color of the gradient used when the button is pressed down.
Public property Static member ButtonPressedGradientEnd Gets the end color of the gradient used when the button is pressed down.
Public property Static member ButtonPressedGradientMiddle Gets the middle color of the gradient used when the button is pressed down.
Public property Static member ButtonPressedHighlight Gets the solid color used when the button is pressed down.
Public property Static member ButtonPressedHighlightBorder Gets the border color to use with ButtonPressedHighlight.
Public property Static member ButtonSelectedBorder Gets the border color to use with the ButtonSelectedGradientBegin, ButtonSelectedGradientMiddle, and ButtonSelectedGradientEnd colors.
Public property Static member ButtonSelectedGradientBegin Gets the starting color of the gradient used when the button is selected.
Public property Static member ButtonSelectedGradientEnd Gets the end color of the gradient used when the button is selected.
Public property Static member ButtonSelectedGradientMiddle Gets the middle color of the gradient used when the button is selected.
Public property Static member ButtonSelectedHighlight Gets the solid color used when the button is selected.
Public property Static member ButtonSelectedHighlightBorder Gets the border color to use with ButtonSelectedHighlight.
Public property Static member CheckBackground Gets the solid color to use when the check box is selected and gradients are being used.
Public property Static member CheckPressedBackground Gets the solid color to use when the check box is selected and gradients are being used.
Public property Static member CheckSelectedBackground Gets the solid color to use when the check box is selected and gradients are being used.
Public property Static member GripDark Gets the color to use for shadow effects on the grip or move handle.
Public property Static member GripLight Gets the color to use for highlight effects on the grip or move handle.
Public property Static member ImageMarginGradientBegin Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu.
Public property Static member ImageMarginGradientEnd Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu.
Public property Static member ImageMarginGradientMiddle Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu.
Public property Static member ImageMarginRevealedGradientBegin Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.
Public property Static member ImageMarginRevealedGradientEnd Gets the end color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.
Public property Static member ImageMarginRevealedGradientMiddle Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu when an item is revealed.
Public property Static member MenuBorder Gets the border color or a MenuStrip.
Public property Static member MenuItemBorder Gets the border color to use with a ToolStripMenuItem.
Public property Static member MenuItemPressedGradientBegin Gets the starting color of the gradient used when a top-level ToolStripMenuItem is pressed down.
Public property Static member MenuItemPressedGradientEnd Gets the end color of the gradient used when a top-level ToolStripMenuItem is pressed down.
Public property Static member MenuItemPressedGradientMiddle Gets the middle color of the gradient used when a top-level ToolStripMenuItem is pressed down.
Public property Static member MenuItemSelected Gets the solid color to use when a ToolStripMenuItem other than the top-level ToolStripMenuItem is selected.
Public property Static member MenuItemSelectedGradientBegin Gets the starting color of the gradient used when the ToolStripMenuItem is selected.
Public property Static member MenuItemSelectedGradientEnd Gets the end color of the gradient used when the ToolStripMenuItem is selected.
Public property Static member MenuStripGradientBegin Gets the starting color of the gradient used in the MenuStrip.
Public property Static member MenuStripGradientEnd Gets the end color of the gradient used in the MenuStrip.
Public property Static member OverflowButtonGradientBegin Gets the starting color of the gradient used in the ToolStripOverflowButton.
Public property Static member OverflowButtonGradientEnd Gets the end color of the gradient used in the ToolStripOverflowButton.
Public property Static member OverflowButtonGradientMiddle Gets the middle color of the gradient used in the ToolStripOverflowButton.
Public property Static member RaftingContainerGradientBegin Gets the starting color of the gradient used in the ToolStripContainer.
Public property Static member RaftingContainerGradientEnd Gets the end color of the gradient used in the ToolStripContainer.
Public property Static member SeparatorDark Gets the color to use to for shadow effects on the ToolStripSeparator.
Public property Static member SeparatorLight Gets the color to use to for highlight effects on the ToolStripSeparator.
Public property Static member StatusStripGradientBegin Gets the starting color of the gradient used on the StatusStrip.
Public property Static member StatusStripGradientEnd Gets the end color of the gradient used on the StatusStrip.
Public property Static member ToolStripBorder Gets the border color to use on the bottom edge of the ToolStrip.
Public property Static member ToolStripContentPanelGradientBegin Gets the starting color of the gradient used in the ToolStripContentPanel.
Public property Static member ToolStripContentPanelGradientEnd Gets the end color of the gradient used in the ToolStripContentPanel.
Public property Static member ToolStripDropDownBackground Gets the solid background color of the ToolStripDropDown.
Public property Static member ToolStripGradientBegin Gets the starting color of the gradient used in the ToolStrip background.
Public property Static member ToolStripGradientEnd Gets the end color of the gradient used in the ToolStrip background.
Public property Static member ToolStripGradientMiddle Gets the middle color of the gradient used in the ToolStrip background.
Public property Static member ToolStripPanelGradientBegin Gets the starting color of the gradient used in the ToolStripPanel.
Public property Static member ToolStripPanelGradientEnd Gets the end color of the gradient used in the ToolStripPanel.
Top
  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ