System.Web.UI.Design.DataSourceViewSchemaConverter.GetStandardValues Method

Returns a list of available values that can be assigned to the associated control property.

Syntax

public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext implementation that can be used to gain additional context information.

Returns

A System.ComponentModel.TypeConverter.StandardValuesCollection containing available values for assignment to the associated control property.

Remarks

The DataSourceViewSchemaConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext) method uses the System.ComponentModel.ITypeDescriptorContext.Instance property of the specified context object to obtain an System.Web.UI.IDataSourceViewSchemaAccessor implementation. If the System.Web.UI.IDataSourceViewSchemaAccessor implementation is available, it is used to access the data source schema for the associated control at design time and retrieve the list of available fields from the associated data source schema view.

The collection of available values is built from the fields in the data source schema for the associated control.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0