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:
virtual bool GetStandardValuesSupported (
	ITypeDescriptorContext^ context
) override
public boolean GetStandardValuesSupported (
	ITypeDescriptorContext context
)
public override function GetStandardValuesSupported (
	context : ITypeDescriptorContext
) : boolean
Not applicable.

Parameters

context

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 a null reference (Nothing in Visual Basic).

Return Value

true if the context parameter is not a null reference (Nothing in Visual Basic); 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 a null reference (Nothing in Visual Basic), and properties on the context object can return a null reference (Nothing in Visual Basic). If the context parameter is a null reference (Nothing in Visual Basic), this method returns false.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: