- context
An System.ComponentModel.ITypeDescriptorContext implementation that can be used to gain additional context information.
![]()
A System.ComponentModel.TypeConverter.StandardValuesCollection instance containing available values for assignment to the associated control property.
The DataColumnSelectionConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext) method uses the System.ComponentModel.ITypeDescriptorContext.Instance property of the specified context object to obtain an System.ComponentModel.IComponent implementation. If the System.ComponentModel.IComponent implementation is available, it is used to access the associated control at design time and retrieve the list of available values from the associated System.Web.UI.WebControls.GridView component.
The collection of available values is built from the bound column fields in the System.Web.UI.WebControls.GridView control. The bound column fields consist of System.Web.UI.WebControls.BoundField objects in the System.Web.UI.WebControls.GridView.Columns collection, and from the bound column fields automatically generated for fields in the data source.