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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft