System.Web.UI.Design.DataColumnSelectionConverter.GetStandardValuesSupported Method

Indicates whether this converter returns a set of available values for assignment to a control property, within the specified context.

Syntax

public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context)

Parameters

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

Returns

true if this converter returns a standard set of available values for assignment to the associated control property; otherwise false.

Remarks

The DataColumnSelectionConverter.GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext) method indicates whether the converter supports returning a list of available values through the DataColumnSelectionConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext) method.

The erload:System.Web.UI.Design.DataColumnSelectionConverter.GetStandardValuesSupported method for the System.Web.UI.Design.DataColumnSelectionConverter object returns true if the specified context object supplies an System.ComponentModel.IComponent implementation in its System.ComponentModel.ITypeDescriptorContext.Instance property. The DataColumnSelectionConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext) method uses the System.ComponentModel.IComponent implementation to access the associated control at design time and retrieve the list of available bound column fields from the associated System.Web.UI.WebControls.GridView component.

Requirements

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