ImageIndexConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)

 

Determines if the 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
)

Parameters

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 if the GetStandardValues method returns a standard set of values; otherwise, false. Always returns true.

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

.NET Framework
Available since 1.1
Return to top
Show: