ControlIDConverter::GetStandardValues Method (ITypeDescriptorContext)
Returns a collection of control IDs from the container within the 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 holds a set of strings representing the control IDs of the controls in the current container. If no controls are currently contained, an empty collection is returned. If the context is nullptr or there is no current container, then nullptr is returned.
The FilterControl method is called on each control found in the container. The control ID is only added to the TypeConverter::StandardValuesCollection if the method returns true.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.