Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.35 KB

Access.NavigationControl.BorderShade.md

File metadata and controls

46 lines (26 loc) · 1.35 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
NavigationControl.BorderShade property (Access)
vbaac10.chm14603
vbaac10.chm14603
Access.NavigationControl.BorderShade
5464f403-791a-d324-2c7a-eb6aa26acf8f
02/20/2019
medium

NavigationControl.BorderShade property (Access)

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

Syntax

expression.BorderShade

expression A variable that represents a NavigationControl object.

Remarks

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, and 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.

Example

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

Me.ctl.BorderShade=25

[!includeSupport and feedback]