UI_FONTUNDERLINE 枚举 (uiribbon.h)

指定用于标识 FontControl 的下划线状态的值。

语法

typedef enum UI_FONTUNDERLINE {
  UI_FONTUNDERLINE_NOTAVAILABLE = 0,
  UI_FONTUNDERLINE_NOTSET = 1,
  UI_FONTUNDERLINE_SET = 2
} ;

常量

 
UI_FONTUNDERLINE_NOTAVAILABLE
值: 0
未启用下划线。
UI_FONTUNDERLINE_NOTSET
值:1
下划线已关闭。
UI_FONTUNDERLINE_SET
值: 2
下划线已打开。

注解

UI_FONTUNDERLINEFontControl“下划线”切换按钮相关联,如以下屏幕截图所示。

将 RichFont 属性设置为 true 的 FontControl 元素的屏幕截图。默认情况下,“下划线”切换按钮显示在 FontControl 中,但可以隐藏,具体取决于 FontType 属性的值。

“下划线”按钮根据UI_PKEY_FontProperties_Underline中的UI_FONTUNDERLINE值进行切换。

实心单线是 FontControl 支持的唯一下划线样式。

要求

要求
最低受支持的客户端 Windows 7、带 SP2 的 Windows Vista 和适用于 Windows Vista 的平台更新 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 R2、Windows Server 2008 SP2 和适用于 Windows Server 2008 的平台更新 [仅限桌面应用]
标头 uiribbon.h

另请参阅

常量和枚举

UI_PKEY_FontProperties_Underline