System.Windows.Forms.ImageKeyConverter.GetStandardValues Method

Returns a collection of standard image keys for the image list associated with the specified context.

Syntax

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

Parameters

context
An System.ComponentModel.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.

Returns

A System.ComponentModel.TypeConverter.StandardValuesCollection that contains the standard set of image key values.

Remarks

If no image list is found, and the System.Windows.Forms.ImageKeyConverter supports null as a standard value, the ImageKeyConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext) method returns a collection containing a single empty string. If no image list is found, and null is not supported as a standard value, ImageKeyConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext) returns an empty collection.

Requirements

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