PropertyItemDrawTextFormat Enumeration
Description
Text formatting styles for property grid items.
Members
| Member | Description |
|---|---|
| DrawTextCenter | Centers text horizontally in the rectangle. |
| DrawTextRight | Aligns text to the right. |
| DrawTextVcenter | Centers text vertically. |
| DrawTextBottom | Justifies the text to the bottom of the rectangle. |
| DrawTextWordBreak | Breaks words. Automatically breaks lines between words if a word would extend past the edge of the item rectangle. A carriage return-linefeed sequence also breaks the line. |
| DrawTextSingleLine | Displays text on a single line only. Carriage returns and linefeeds do not break the line. |
| DrawTextNoprefix | An occurrence of the character "&" in a text string is displayed as itself. If DrawTextNoprefix is not set, then the character following "&" in the text string is displayed as an underscored character. |
Remarks
The DrawTextFormat property uses a combination of PropertyItemDrawTextFormat flags to display text when not in edit mode. When in edit mode, the PropertyItemEditStyle flags are used.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.