GetStandardValuesSupported Method (ITypeDescriptorContext)
Collapse the table of content
Expand the table of content

ControlPropertyNameConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)

 

Returns a value that indicates whether this object supports a standard set of values that can be chosen from a list, using the specified context.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override bool GetStandardValuesSupported(
	ITypeDescriptorContext context
)

Parameters

context
Type: System.ComponentModel.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.

Return Value

Type: System.Boolean

true if the context parameter is not null; otherwise, false.

The GetStandardValuesSupported method returns a value that indicates whether this object supports a standard set of values.

The context parameter extracts additional information about the design-time environment from which this converter is invoked. This parameter can be null, and properties on the context object can return null. If the context parameter is null, this method returns false.

Notes to Inheritors:

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft