PropertyItemEditStyle Enumeration
Description
Edit style(s) for property grid items when in edit mode.
Members
| Member | Description |
|---|---|
| EditStyleLeft | Left-aligns text. |
| EditStyleCenter | Centers text in a multiline edit control. |
| EditStyleRight | Right-aligns text in a multiline edit control. |
| EditStyleMultiLine | Designates a multiline edit control. The default is a single-line edit control. This style is automatically applied when the MultiLinesCount property of the item is set to a number greater than 1. |
| EditStyleUpperCase | Converts all characters to uppercase as they are typed into the edit control. |
| EditStyleLowerCase | Converts all characters to lowercase as they are typed into the edit control. |
| EditStyleAutoVscroll | Scrolls text up one page when the user presses the ENTER key on the last line. |
| EditStyleAutoHscroll | Automatically scrolls text to the right by 10 characters when the user types a character at the end of the line. When the user presses the ENTER key, the control scrolls all text back to the zero position. |
| EditStyleWantReturn | When using a MultiLineGrid item, this allows the user to press Enter instead of Ctrl+Enter for a new line. |
| EditStyleNumber | Accepts only digits to be typed into the edit control. |
| EditStyleVScroll | Adds a vertical scrollbar to a multiline edit control. |
Remarks
The PropertyGrid item EditStyle property uses the PropertyItemEditStyle flags to set the edit style for editable items.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.