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.
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 nullptr.
Return Value
Type: System.ComponentModel::TypeConverter::StandardValuesCollectionA TypeConverter::StandardValuesCollection that contains a set of strings representing property names for the current control. If the current control is nullptr, an empty collection is returned. If the context parameter is nullptr, nullptr 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 nullptr, and properties on the context object can return nullptr. If the context parameter is nullptr, this method returns nullptr.
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.