PropertyGridItem Object Members
See Also
- PropertyGridItem Overview
- Categories Property
- Childs Property
- AddChildItem Method
- AddChildItemBinded Method
Property Grid ActiveX Control v24.0
PropertyGridItem Object Members
Public Methods
AddChildItem
AddChildItemBinded
AddInplaceButton
AddSliderControl
AddSpinButton
EnsureVisible
EnsureVisible method ensures that an item is visible. If necessary, the method expands the parent item or scrolls the property grid control so that the item is visible.
GetRect
InsertChildItem
InsertChildItem method is used to insert a new PropertyGridItem at a specific position within a collection of items.
InsertChildItemBinded
InsertChildItemBinded method is used to insert a new PropertyGridItem at a specific position within a collection of items. This means that the PropertyGridItem is bound to a variable, and the value of the item is stored in this variable.
Remove
Remove method removes an item from the property grid.
SetMask
StartEdit
| Method | Description |
|---|---|
| AddChildItem | Adds a child item to this PropertyItem. |
| AddChildItemBinded | Adds a child item that is bound to the PropertyGridItem. This means that the PropertyGridItem is bound to a variable, and the value of the item is stored in this variable. |
| AddInplaceButton | Add a button to the property grid item. |
| AddSliderControl | Adds a slider control to the property grid item. |
| AddSpinButton | Adds a spin button to the property grid item. |
| EnsureVisible | Ensures that the item is visible. |
| GetRect | Returns the top, left, right, and bottom coordinates of the item. |
| InsertChildItem | Inserts a new child item at a specific position. |
| InsertChildItemBinded | Inserts a new child item that is bound to a variable. |
| Remove | Removes an item from the property grid. |
| SetMask | Applies the specified mask to a PropertyGridItem data field. |
| StartEdit | Places the item in edit mode. |
Public Properties
AutoComplete
Auto Completion for this item.
Caption
Caption sets/gets the caption of the item. This is the text that will be displayed in the description half (left side) of the property grid item.
CaptionMetrics
CaptionMetrics metrics used to draw the caption (left column) of the PropertyGridItem.
Childs
Gets the collection of child property grid items added to this item. These items will appear on another level under the property grid item they are added to when the plus "+" button is used to expand the item.
ConstraintEdit
Gets/Sets whether a PropertyGridItem that contains constraints can be edited.
Constraints
Gets the collection of constraints (list of values to display in a combo list) associated with this property grid item.
DefaultValue
DefaultValue gets/sets the default value of the item.
Description
Gets/Sets the description of the PropertyGridItem.
DropDownItemCount
Gets/Sets how many items to show in the combo box dropdown before a scrollbar will appear.
EditStyle
Gets/Sets the edit style(s) applied to the item.
Expandable
Enables or disables expanding the item by the user.
Expanded
Gets/Sets a boolean value indicating whether the PropertyGridItem is expanded.
Flags
Gets/Sets the flags associated with the PropertyItem.
Format
Format gets/sets the format type of the property grid item.
Height
Height gets/sets the height of the item.
Hidden
Gets/Sets whether the item is hidden.
Id
Id property is used to get or set an Id for the item.
Index
Index gets the index of the item.
InplaceButtons
Gets/Sets the collection of in-place buttons for this item.
MarkupTemplate
Gets/Sets the markup template for the PropertyGridItem.
MaskedText
Gets/Sets the masked text for the PropertyGridItem.
MultiLinesCount
Gets/Sets the number of lines of text that can be displayed in the item.
Parent
Gets the parent item of the PropertyGridItem or NULL (Nothing) if there is none.
PasswordMask
Gets/Sets a Boolean value indicating whether the PropertyGridItem value is displayed with a password mask. If true, all characters are replaced by an asterisk ().
Gets/Sets a boolean value indicating whether the PropertyGridItem is read-only.
Gets/Sets a boolean value indicating whether the PropertyGridItem is currently selected.
Gets/Sets the Tag of the property grid item. Stores any extra data needed for your program.
Gets/Sets the tooltip text for the item.
Returns the data type of the property grid item.
Gets/Sets the value of the PropertyGridItem.
ValueMetrics* metrics used to draw the value (right column) of the PropertyGridItem.
See Also
- PropertyGridItem Overview
- Categories Property
- Childs Property
- AddChildItem Method
- AddChildItemBinded Method
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.