PROPERTYGRID Methods
The PROPERTYGRID supports the following methods in addition to the Common Methods except where noted below.
Name | Description |
---|---|
ADD | Adds a new property item to the Property Grid. |
BEGINEDIT | Opens the item editor for an item in the Property Grid. |
COLLAPSE | Collapses a property category, making all items belonging to that category invisible. |
COPY | Copies the text from a property item being edited onto the clipboard. |
CUT | Deletes the text from a property item begin edited and copies it onto the clipboard. |
DELETE | Removes a property item from the Property Grid. |
DROPDOWN | Forces the Property Grid to display a dropdown list or trigger the options button for the current item. |
ENDEDIT | Closes the item editor for the current item. |
EXPAND | Expands a collapsed property category, making all items belonging to that category visible. |
PASTE | Copies the contents of the clipboard to the property item currently being edited. |
POSBYCURSOR | Returns the closest visible property item to the passed screen cursor coordinates. |
POSBYCLIENTCURSOR | Returns the closest visible property item to the passed client-area cursor coordinates. |
POSBYNAME | Returns the position of the specified property item in the "visible" list. |
PROPERTYBYPOS | Returns the property item for the specified position in the "visible" list. |
SCREENSIZEBYNAME | Returns the SIZE of the named property item in screen coordinates. |
SELECTALL | Selects all the text in the property item being edited. |
SIZEBYNAME | Returns the SIZE of the named property item in client coordinates. |
UNDO | Restores previously deleted text, or removes previously added text from a property item being edited. |
VALUEBYNAME | Gets or sets the value of the named property. |
VALUEBYPOS | Gets or sets the value of the specified property using its position in the "visible" list. |