# IGH_ContextualParameter interface

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public interface IGH_ContextualParameter
```

Base interface for contextual parameters. This makes accessing non-strongly-typed functionality easier.

**Derived types:** [IGH_ContextualParameter2](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter2.md)

## Properties

- [AtLeast](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/atleast.md): Minimum number of inputs to request
- [AtMost](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/atmost.md): Maximum number of inputs to request.
- [ContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/contextualdata.md): Iterate over all specified contextual values.
- [Immediate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/immediate.md): Gets whether this parameter triggers immediate updates from inside its getter. Immediacy is important for a smooth experience, but it maybe disabled if the expected recalculation time becomes excessive.
- [Prompt](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/prompt.md): Gets the prompt to be displayed while asking the user to enter data. The prompt string may contain '{0}' fields which will be populated with the amount of values picked so far.

## Methods

- [AssignContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/assigncontextualdata.md): Assign a collection of values as contextual data.
- [AutoAssignContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/autoassigncontextualdata.md): Use the in-build getter UI to assign data to the parameter.
