![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
ControlTypeEditor Class Members | |
See Also Properties Methods Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls.Design Namespace : ControlTypeEditor Class |
The following tables list the members exposed by ControlTypeEditor.
Name | Description | |
---|---|---|
![]() | IsDropDownResizable | (Inherited from System.Drawing.Design.UITypeEditor) |
Name | Description | |
---|---|---|
![]() | xTypesSupported | xTypesSupported is a list of Types supported by the drop list. The drop list will look through the page's component list and select any object whose classtype matches or is inherited from the types in this list. For example, to include all WebControls, you can simply add the WebControl type here. To add to this list, you must override DefineSupportedTypes and call AddSupportedType (which validates your entry.) |
Name | Description | |
---|---|---|
![]() | EditValue | Overloaded. (Inherited from System.Drawing.Design.UITypeEditor) |
![]() | GetEditStyle | Overloaded. (Inherited from System.Drawing.Design.UITypeEditor) |
![]() | GetPaintValueSupported | Overloaded. (Inherited from System.Drawing.Design.UITypeEditor) |
![]() | PaintValue | Overloaded. (Inherited from System.Drawing.Design.UITypeEditor) |
Name | Description | |
---|---|---|
![]() | AddSupportedType | AddSupportedType adds a type into the xTypesSupported list. Call it from DefineSupportedTypes. All subclasses of any type added are automatically supported. |
![]() | ClearSupportedTypes | Clear supported types. |
![]() | DefineSupportedTypes | 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. |
![]() | FillInList | Overridden. FillInList box gathers the controls found on the page and after filtering out those not in xTypesSupported, adds their ClientID to the list box. The ITypeDescriptorContext, pContext, contains the components list of the page. |
![]() | FillInListWithControls | FillInListWithControls does most of the work of FillInList. |
![]() | List_Click | List_Click is a click event handler for the ListBox. We want the have the list close when the user clicks, just like the Enum and Bool types do in their UITypeEditors. (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.DropDownListTypeEditor) |