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

ToggleButton.PressedForeThemeColorIndex 属性 (访问)ToggleButton.PressedForeThemeColorIndex Property (Access)

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

获取或设置表示与指定的对象的PressedForeColor属性相关联的应用的颜色主题中的颜色主题颜色索引。读/写Gets or sets the theme color index that represents a color in the applied color theme associated with the PressedForeColor property of the specified object. Read/write Long.

语法Syntax

表达式PressedForeThemeColorIndexexpression. PressedForeThemeColorIndex

表达式_一个表示一个切换按钮对象的变量。_expression A variable that represents a ToggleButton object.

注解Remarks

PressedForeThemeColorIndex将使用下表中列出的值之一。The PressedForeThemeColorIndex uses one of the values listed in the following table.

Value说明Description
00文字 1Text 1
11背景 1Background 1
22文字 2Text 2
33背景 2Background 2
44强调文字颜色 1Accent 1
55强调文字颜色 2Accent 2
66强调文字颜色 3Accent 3
77强调文字颜色 4Accent 4
8(默认值)8 (Default)强调文字颜色 5Accent 5
99强调文字颜色 6Accent 6
1010超链接Hyperlink
1111已访问的超链接Followed Hyperlink

如果应用了无主题,则PressedForeThemeColorIndex属性包含-1。If no theme is applied, the PressedForeThemeColorIndex property contains -1.

此属性未出现在属性表中。This property is not surfaced in the property sheet.

另请参阅See also

概念Concepts

切换按钮对象ToggleButton Object

© 2018 Microsoft