ControlIDConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value indicating whether this object supports a standard set of control ID values that can be picked from a list, using the specified context.

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

override GetStandardValuesSupported : 
        context:ITypeDescriptorContext -> bool

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Return Value

Type: System.Boolean

true if GetStandardValues should be called to find a common set of control ID values the object supports; otherwise, false. This implementation returns true if the context is not null; otherwise, 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: