Property Interface Reference

Specifies a Property in the PropertyGrid. More...

Inheritance diagram for Property:

Inheritance graph
Collaboration diagram for Property:

Collaboration graph
List of all members.

Public Member Functions

 Add ([in] BSTR Text,[out, retval] IDispatch **pItem)
 Remove ([in] VARIANT Index)
 Call this method to remove one item from the collection.
 Clear ()
 Removes all of the items from the collection.

Properties

LPUNKNOWN R _NewEnum []
 Returns the enumerator for the collection.
VARIANT R Item [[in] long Index] []
 Returns the specified item in the collection.
long R Count []
 Returns the number of items in the collection.
BSTR RW Text []
 Sets or retrieves the name of the Property.
VARIANT_BOOL RW Expanded []
 The Expanded property is a Boolean value that indicates that the property is expanded or not.
BSTR RW Value []
 Sets or retrieves the value of the Property.
IDispatch *R Control []
 Retrieves the control that associated with the Property.
ULONG RW Height []
 Sets or retrieves the height of the Property.
VARIANT_BOOL RW Selected []
 Gets or sets the selection state of the item.

Detailed Description

Specifies a Property in the PropertyGrid.

The Property object is an collection of other Properties.

Since:
1.1.14.


Member Function Documentation

Add ( [in] BSTR  Text,
[out, retval] IDispatch **  pItem 
)

Clear (  ) 

Removes all of the items from the collection.

Remove ( [in] VARIANT  Index  ) 

Call this method to remove one item from the collection.

Parameters:
Index The index of the element to remove or the element itself.


Property Documentation

LPUNKNOWN R _NewEnum

Returns the enumerator for the collection.

IDispatch* R Control

Retrieves the control that associated with the Property.

long R Count

Returns the number of items in the collection.

VARIANT_BOOL RW Expanded

The Expanded property is a Boolean value that indicates that the property is expanded or not.

If property is expanded then its child properties are visible.

Default value: "TRUE"

ULONG RW Height

Sets or retrieves the height of the Property.

The height of the property can't be less then required for display name of the Property. Default value: 0

VARIANT R Item[[in] long Index] (  ) 

Returns the specified item in the collection.

VARIANT_BOOL RW Selected

Gets or sets the selection state of the item.

Since:
1.1.15.

BSTR RW Text

Sets or retrieves the name of the Property.

BSTR RW Value

Sets or retrieves the value of the Property.

The value of the Property it is the text that stored in the Property's control.

See also:
Control.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:13:01 2015. (C) Veretennikov A. B. 2004-2015