แก้ไข

แชร์ผ่าน


ImageIndexConverter.GetStandardValuesSupported(ITypeDescriptorContext) Method

Definition

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

Remarks

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.

Applies to

See also