System.Windows.Forms.TextFormatFlags.PrefixOnly Field

Applies to Windows 2000 or Windows XP only:

Syntax

TextFormatFlags PrefixOnly

Remarks

Draws only an underline at the position of the character following the ampersand (&) prefix character. Does not draw any other characters in the string. For example, an input string of "A&bc&&d" would result in output of " _ ".

Compare with TextFormatFlags.HidePrefix and TextFormatFlags.NoPrefix.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0