Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataColumnSelectionConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)


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

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

public override bool GetStandardValuesSupported(
	ITypeDescriptorContext context


Type: System.ComponentModel.ITypeDescriptorContext

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

Return Value

Type: System.Boolean

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

The GetStandardValuesSupported method indicates whether the converter supports returning a list of available values through the GetStandardValues method.

The GetStandardValuesSupported method for the DataColumnSelectionConverter object returns true if the specified context object supplies an IComponent implementation in its Instance property. The GetStandardValues method uses the IComponent implementation to access the associated control at design time and retrieve the list of available bound column fields from the associated GridView component.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft