Skip to content

PropertyGridItem Object Members

See Also

See Also Property Grid ActiveX Control v24.0


PropertyGridItem Object Members

Public Methods

Public Method AddChildItem
Public Method AddChildItemBinded
Public Method AddInplaceButton
Public Method AddSliderControl
Public Method AddSpinButton
Public Method 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.
Public Method GetRect
Public Method InsertChildItem
InsertChildItem method is used to insert a new PropertyGridItem at a specific position within a collection of items.
Public Method 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.
Public Method Remove
Remove method removes an item from the property grid.
Public Method SetMask
Public Method 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

Public Property AutoComplete
Auto Completion for this item.
Public Property 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.
Public Property CaptionMetrics
CaptionMetrics metrics used to draw the caption (left column) of the PropertyGridItem.
Public Property 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.
Public Property ConstraintEdit
Gets/Sets whether a PropertyGridItem that contains constraints can be edited.
Public Property Constraints
Gets the collection of constraints (list of values to display in a combo list) associated with this property grid item.
Public Property DefaultValue
DefaultValue gets/sets the default value of the item.
Public Property Description
Gets/Sets the description of the PropertyGridItem.
Public Property DropDownItemCount
Gets/Sets how many items to show in the combo box dropdown before a scrollbar will appear.
Public Property EditStyle
Gets/Sets the edit style(s) applied to the item.
Public Property Expandable
Enables or disables expanding the item by the user.
Public Property Expanded
Gets/Sets a boolean value indicating whether the PropertyGridItem is expanded.
Public Property Flags
Gets/Sets the flags associated with the PropertyItem.
Public Property Format
Format gets/sets the format type of the property grid item.
Public Property Height
Height gets/sets the height of the item.
Public Property Hidden
Gets/Sets whether the item is hidden.
Public Property Id
Id property is used to get or set an Id for the item.
Public Property Index
Index gets the index of the item.
Public Property InplaceButtons
Gets/Sets the collection of in-place buttons for this item.
Public Property MarkupTemplate
Gets/Sets the markup template for the PropertyGridItem.
Public Property MaskedText
Gets/Sets the masked text for the PropertyGridItem.
Public Property MultiLinesCount
Gets/Sets the number of lines of text that can be displayed in the item.
Public Property Parent
Gets the parent item of the PropertyGridItem or NULL (Nothing) if there is none.
Public Property 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 ().
Public Property
Gets/Sets a boolean value indicating whether the PropertyGridItem is read-only.
Public Property
Gets/Sets a boolean value indicating whether the PropertyGridItem is currently selected.
Public Property
Gets/Sets the Tag of the property grid item. Stores any extra data needed for your program.
Public Property
Gets/Sets the tooltip text for the item.
Public Property
Returns the data type of the property grid item.
Public Property
Gets/Sets the value of the PropertyGridItem.
Public Property
ValueMetrics* metrics used to draw the value (right column) of the PropertyGridItem.


See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.