Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.98 KB

windowsribbon-reference-properties-uipkey-fontproperties-underline.md

File metadata and controls

64 lines (41 loc) · 1.98 KB
title description ms.assetid ms.topic ms.date
UI_PKEY_FontProperties_Underline
Identifies the UI\_PKEY\_FontProperties\_Underline property.
88492558-ab19-4606-8fe0-5f100677b88a
article
05/31/2018

UI_PKEY_FontProperties_Underline

Identifies the UI_PKEY_FontProperties_Underline property.

propertyDescription
   name = UI_PKEY_FontProperties_Underline
   shellPKey = UI_PKEY_FontProperties_Underline
   formatID = 00000305-7363-696e-8441798acf5aebb7
   propID = 305
   typeInfo
      type = UI_FONTUNDERLINE

Remarks

UI_PKEY_FontProperties_Underline is used by an application to query the state of the Underline button.

The property value is from the UI_FONTUNDERLINE enumeration.

The default value is UI_FONTUNDERLINE_NOTSET.

The following screen shot shows the Underline button of the Ribbon FontControl.

screen shot of the fontcontrol element with the richfont attribute set to true.

The following table describes the properties and the UI result.

Property UI Result
UI_FONTUNDERLINE_NOTAVAILABLE Underline button is disabled and can only be set by the application.
UI_FONTUNDERLINE_NOTSET Underline button is not selected.
UI_FONTUNDERLINE_SET Underline button is selected.

 

Related topics

Font Control Properties

UI_FONTUNDERLINE

Font Control