Redigera

Dela via


ControlPropertyNameConverter.GetStandardValuesExclusive Method

Definition

Returns a value that indicates whether the collection of standard values returned by the GetStandardValues method is an exclusive list of possible values, using the specified context.

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

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null.

Returns

false in all cases, which indicates that the list is not exclusive.

Remarks

The GetStandardValuesExclusive method always returns false to indicate that the list of property values returned by the GetStandardValues method is not an exclusive list of possible values.

Use the context parameter to extract additional information about the environment from which this converter is invoked. This parameter can be null, and properties on the context object can return null.

Notes to Inheritors

Override this method if the type you want to convert supports standard values.

Applies to

See also