|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
CommandButton.PressedShade Property (Access)
Gets or sets the shade that is applied to the theme color in the PressedColor property of the specified object. Read/write Single.
The PressedShade property contains a numeric expression that can be used to darken the theme color in the PressedColor property. The default value of the PressedShade property is 100, which is neutral, and does not change the theme color. To darken the color, first determine the percentage by which to darken from 1 to 100, then subtract that value as a whole number from 100 and store the remainder. For example, to darken the theme color shade by 75%, subtract 75 from 100 and store the remainder, which is 25.
This property is not surfaced in the property sheet.