CustomProperty.AddGridParameter

Introduced

v4.0

Description

Adds a Grid Parameter to the CustomProperty. The grid is a convenient way to store 1- or 2-dimensional Arrays and the user can view and edit this data via the siControlGrid (see siPPGControlType).

To change the contents of the grid via scripting use the GridData object, which is accessible via the Parameter.Value property.

To include the Grid in the Property Page of the CustomProperty use the PPGLayout.AddItem method.

C# Syntax

Parameter CustomProperty.AddGridParameter( String in_ScriptName );

Scripting Syntax

oReturn = CustomProperty.AddGridParameter( ScriptName );

Return Value

The newly created Parameter object.

Parameters

Parameter Type Description
ScriptName string Script name of the new parameter

See Also

GridData XSIFactory.CreateGridData Parameter.Value siPPGControlType