ImageKeyConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether this type converter supports a standard set of values that can be picked from a list.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override bool GetStandardValuesSupported(
	ITypeDescriptorContext context


Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context, which can be used to extract additional information about the environment this type converter is being invoked from. This parameter or properties of this parameter can be null.

Return Value

Type: System.Boolean

true to indicate a list of standard values is supported; otherwise, false. Always returns true.

As implemented in the ImageKeyConverter class, the GetStandardValuesSupported method always returns true since ImageKeyConverter supports a standard set of index values for images that can be picked from a list.

.NET Framework
Available since 2.0
Return to top