Assembly: System.Design (in system.design.dll)
Use the DataColumnSelectionConverter class to convert object types before assignment to a control property. In general, the DataColumnSelectionConverter class supports converting string object types and supplies a list of standard values available for assignment to the associated control property. The standard values collection is the list of field names for bound column fields for the current GridView control.
To support converting additional object types, derive a class from DataColumnSelectionConverter and override the CanConvertFrom and ConvertFrom methods for the additional object types. To support a custom list of standard assignable values, override the GetStandardValues method.
Apply the TypeConverterAttribute attribute to specify the DataColumnSelectionConverter class as the type converter for a control property. For example, the RowHeaderColumn property of the GridView control specifies DataColumnSelectionConverter as its type converter.
The GetStandardValuesSupported method indicates that the converter supports returning a list of available values through the GetStandardValues method. The GetStandardValuesExclusive method indicates that the list is not an exclusive list of possible values.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.