System.Web.UI.Design.ExpressionsCollectionConverter Class

Provides a type converter for expression binding collections.

See Also: ExpressionsCollectionConverter Members


public class ExpressionsCollectionConverter : System.ComponentModel.TypeConverter


The System.Web.UI.Design.ExpressionsCollectionConverter class converts an System.Web.UI.ExpressionBindingCollection to a string for the property-editing grid at design time, which always appears as an empty string ("").

A designer host, such as vsprvslong, uses the System.Web.Compilation.ExpressionBuilder and System.Web.UI.Design.ExpressionEditor class implementations with the System.Web.UI.Design.ExpressionsCollectionEditor and System.Web.UI.Design.ExpressionsCollectionConverter classes to set the expression bindings for control properties at design time, and the System.Web.UI.Design.ControlPersister to persist the expressions for run time. Expression strings reference a localizable resource, an application setting, a connection string, or a custom expression type. The expression string is bound to the control property at design time, and then used at run time to determine the value for the property.


You should never access a type converter directly. This implementation of System.ComponentModel.TypeConverter is intended only for use by an System.Web.UI.ExpressionBindingCollection object at design time.


Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: