Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
virtual TypeConverter::StandardValuesCollection^ GetStandardValues(
	ITypeDescriptorContext^ context
) override

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
Available since 2.0
Return to top
Show:
© 2017 Microsoft