System.Design 2.0.0.0 System.Web.UI.Design.ExpressionEditor

The class derives from the class and provides an implementation for evaluating and associating a resource reference with a control property at design time. For example, you can bind the value of a control property to the resource expression Resources:submitText, which indicates that the control property value is set using the resource named submitText.

A visual designer host, such as vsprvslong, uses the class to specify a resource class, key, and designer default value for a resource expression, and then evaluate the selected resource expression for design-time rendering.

When you browse the property for a control in the design-time properties grid, the visual designer displays a dialog box to set expressions that provide the run-time value for a control property. You can select the expression type based on a list of expression prefixes. When you select the Resources expression prefix in the list, the visual designer uses the methods to set, evaluate, and convert the expression based on the resource expression syntax. The visual designer uses the evaluated expression result to assign control property values that are rendered on the design surface.

The base property for a returns the string Resources. The class is associated with the expression prefix Resources and the implementation.

The method evaluates an input resource expression. The method returns the implementation that is used to select the resource name, class, and designer default value, and to form a resource expression from the selected resource values.

Provides properties and methods for evaluating and editing a resource expression at design time.

- Constructor

  A object is configured by the base class together with an property set to Resources.

  Initializes a new instance of a class.

  2.0.0.0
- Method
  System.Object `` `` `` ``

  The method looks up the resource that is specified by , and then returns the resource.

  The visual designer uses the method to evaluate a resource expression and provide the design-time value for an associated control property. At run time, the page parser uses the and methods of the corresponding implementation to evaluate an expression and provide the run-time value for an associated control property.

  The visual designer uses the method to parse the expression string at design time, and then calls the method with the parsed expression data.

  Evaluates a resource expression and provides the design-time value for a control property.

  The object referenced by the evaluated expression string, if the expression evaluation succeeded; otherwise, null.

  A resource expression to evaluate. does not include the Resources expression prefix. An object supplying additional parse data, in the form of a value. The type of the control property. A service provider implementation supplied by the designer host, used to obtain additional design-time services. 2.0.0.0
- Method
  System.Web.UI.Design.ExpressionEditorSheet `` ``

  The method returns an expression editor sheet implementation for resource expressions. The visual designer host uses the expression editor sheet in its expressions dialog box.

  Returns a resource expression editor sheet that is initialized with the input expression string and service provider implementation.

  A that defines the resource expression properties.

  A resource expression, used to initialize the expression editor sheet. A service provider implementation supplied by the designer host, used to initialize the expression editor sheet. 2.0.0.0