Düzenle

Aracılığıyla paylaş


DataColumnSelectionConverter.GetStandardValuesSupported Method

Definition

Indicates whether this converter returns a set of available values for assignment to a control property, within the specified 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 implementation that can be used to gain additional context information.

Returns

true if this converter returns a standard set of available values for assignment to the associated control property; otherwise false.

Remarks

The GetStandardValuesSupported method indicates whether the converter supports returning a list of available values through the GetStandardValues method.

The GetStandardValuesSupported method for the DataColumnSelectionConverter object returns true if the specified context object supplies an IComponent implementation in its Instance property. The GetStandardValues method uses the IComponent implementation to access the associated control at design time and retrieve the list of available bound column fields from the associated GridView component.

Applies to

See also