편집

다음을 통해 공유


ImageKeyConverter.GetStandardValuesSupported(ITypeDescriptorContext) Method

Definition

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

public:
 override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext? context);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean

Parameters

context
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.

Returns

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

Remarks

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.

Applies to