ESRI.ArcGIS.ADF.Web.UI.WebControls
DefineSupportedTypes Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls.Design Namespace > ControlTypeEditor Class : DefineSupportedTypes Method




pContext
DefineSupportedTypes must be overridden. Use it to call AddSupportedType with Control type that you support. Remember that all subclasses of any type added are automatically supported. For example, if you want to include all HtmlControls, call AddSupportedTypes(typeof(HtmlControl)). You can use pContext.Instance to get a hold of the control whose property is being edited.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub DefineSupportedTypes( _
   ByVal pContext As ITypeDescriptorContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As ControlTypeEditor
Dim pContext As ITypeDescriptorContext
 
instance.DefineSupportedTypes(pContext)
C# 
protected abstract void DefineSupportedTypes( 
   ITypeDescriptorContext pContext
)

Parameters

pContext

See Also

© 2010 All Rights Reserved.