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.

UI_FONTUNDERLINE_NOTAVAILABLEUnderline button is disabled and can only be set by the application.
UI_FONTUNDERLINE_NOTSETUnderline button is not selected.
UI_FONTUNDERLINE_SETUnderline button is selected.

 

Related topics

Font Control Properties
UI_FONTUNDERLINE
Font Control

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.