System.Windows.Forms.ImageKeyConverter.GetStandardValuesExclusive Method

Determines whether the list of standard values for the System.Windows.Forms.ImageKeyConverter is exclusive (that is, whether it allows values other than those returned by erload:System.Windows.Forms.ImageKeyConverter.GetStandardValues).

Syntax

public override bool GetStandardValuesExclusive (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

true to indicate the list does not allow additional values; otherwise, false. Always returns true.

Remarks

If the list returned by the erload:System.Windows.Forms.ImageKeyConverter.GetStandardValues method is exclusive, no other values are valid. This is typical of an enumerated data type. If the list is not exclusive, there are other valid values besides the list of standard values that erload:System.Windows.Forms.ImageIndexConverter.GetStandardValues provides.

As implemented in this type converter, this method always returns true.

Typically, you should call the erload:System.Windows.Forms.ImageKeyConverter.GetStandardValuesSupported method before you attempt to use the erload:System.Windows.Forms.ImageKeyConverter.GetStandardValues and erload:System.Windows.Forms.ImageKeyConverter.GetStandardValuesExclusive methods.

Requirements

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