Table of contents
Collapse the table of content
Expand the table of content

NavigationButton.BorderShade Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets the shade applied to the theme color in the BorderColor property of the specified object. Read/write Single.


expression. BorderShade

expression A variable that represents a NavigationButton object.


The BorderShade property contains a numeric expression that can be used to darken the theme color in the BorderColor property. The default value of the BorderShade 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 use the remainder. For example, to darken the theme color by 75%, subtract 75 from 100 and use the remainder, which is 25.

This property is not surfaced in the property sheet.


The following code example darkens the BorderColor property by 75%.


See also


NavigationButton Object

© 2018 Microsoft