Table of contents
TOC
折叠目录
展开目录

NavigationButton.HoverShade 属性 (访问)NavigationButton.HoverShade Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取或设置应用于指定对象的HoverColor属性中的主题颜色的阴影。读/写单个Gets or sets the shade that is applied to the theme color in the HoverColor property of the specified object. Read/write Single.

语法Syntax

表达式HoverShadeexpression. HoverShade

表达式_一个表示NavigationButton对象的变量。_expression A variable that represents a NavigationButton object.

注解Remarks

HoverShade属性包含一个数值表达式,可用于在HoverColor属性中的主题颜色变暗。HoverShade属性的默认值为 100,它是中性的并不会更改的主题颜色。若要使颜色变暗,首先确定变暗从 1 到 100,然后减去该值为 100 的整数存储其余部分的百分比。例如,若要变主题颜色底纹暗了 75%,减去从 100 75,存储其余部分,即 25。The HoverShade property contains a numeric expression that can be used to darken the theme color in the HoverColor property. The default value of the HoverShade 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.

另请参阅See also

概念Concepts

NavigationButton 对象NavigationButton Object

© 2018 Microsoft