Export (0) Print
Expand All

ControlPropertyNameConverter.GetStandardValues Method (ITypeDescriptorContext)

Returns a collection of property names for the control within a designer that implements IDesignerHost when provided with a format context.

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

public override TypeConverter..::..StandardValuesCollection GetStandardValues(
	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.ComponentModel.TypeConverter.StandardValuesCollection
A TypeConverter.StandardValuesCollection that contains a set of strings representing property names for the current control. If the current control is null, an empty collection is returned. If the context parameter is null, null is returned.

The GetStandardValues method returns a TypeConverter.StandardValuesCollection collection that contains a set of strings representing the names of the current control's properties.

Use the context parameter to extract 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 null.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft