ManagedPropertyGrid

Managed PropertyGrid.

UI element class: System.Windows.Forms.PropertyGridInternal.PropertyGridView

Extends ManagedObject

Extends SeSSimulatedObject

Behavior Pattern: ManagedPropertyGridBehavior

Property Summary

Property Description Getter Setter
Expanded True if selected item is expanded GetExpanded
SelectedItem Returns the structure with label, value, expanded fields GetSelectedItem
SelectedLabel Label of the selected item. GetSelectedLabel
SelectedText Text of the selected item. GetSelectedText
VisibleRowCount Number of visible rows GetVisibleRowCount

Action Summary

Action Description
DoCollapse Collapses an item of this object.
DoExpand Expands an item of this object.
DoSelectItem Selects an item of this object.
DoSetValue Sets value of an grid item of this object.
DoShowDropDown Show dropdown (or custom dialog) for an item.

Property Detail

Expanded

True if selected item is expanded

Type: boolean

Accessors: GetExpanded

SelectedItem

Returns the structure with label, value, expanded fields

Type: string

Accessors: GetSelectedItem

SelectedLabel

Label of the selected item.

Type: string

Accessors: GetSelectedLabel

SelectedText

Text of the selected item.

Type: string

Accessors: GetSelectedText

VisibleRowCount

Number of visible rows

Type: number

Accessors: GetVisibleRowCount

Action Detail

DoCollapse(val)

Collapses an item of this object.

Parameters:

Name Type Description
val string | number name/index of the value to Collapse.

Returns:

boolean: 'true' if success, 'false' otherwise.

DoExpand(val)

Expands an item of this object.

Parameters:

Name Type Description
val string | number name/index of the value to Expand.

Returns:

boolean: 'true' if success, 'false' otherwise.

DoSelectItem(indexLabel)

Selects an item of this object.

Parameters:

Name Type Description
indexLabel string | number name/index of the value to select.

Returns:

boolean: 'true' if success, 'false' otherwise.

DoSetValue(label, val)

Sets value of an grid item of this object.

Parameters:

Name Type Description
label string | number Property grid row label or index
val string | number value to set

Returns:

boolean: 'true' if success, 'false' otherwise.

DoShowDropDown(indexLabel)

Show dropdown (or custom dialog) for an item.

Parameters:

Name Type Description
indexLabel string | number name/index of the item to show dropdown for.

Returns:

boolean: 'true' if success, 'false' otherwise.