System.Design
2.0.0.0
System.Web.UI.Design.ExpressionEditor
The class is derived from the class and provides an implementation for evaluating and associating an application setting reference with a control property at design time. For example, you can bind the value of a control property to the application setting expression AppSettings:mySettingKeyName, which indicates that the control property value is set using the mySettingKeyName value in the appSettings section of the Web configuration file.
A visual designer host, such as vsprvslong, uses the class to select an application setting from the appSettings configuration section, and then evaluates the selected expression for design-time rendering.
When you browse to 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 AppSettings expression prefix from the list, the visual designer host uses the associated object to provide design-time editing functionality of appSettings expressions and uses methods to evaluate and convert the expression string based on the syntax for an application setting expression. The visual designer host uses the evaluated expression result to assign control property values that are rendered on the design surface.
The property for an object returns the string AppSettings. The class is associated with the expression prefix AppSettings and the implementation.
The method evaluates an input application setting expression string. The method returns the implementation that is used to enter and edit application setting expressions.
Provides properties and methods for evaluating and editing an application setting expression in a configuration file at design time.
Constructor
An instance of the class is configured by the base class together with the property set to AppSettings.
Initializes a new instance of the class.
2.0.0.0
Method
System.Object
The method looks up the application setting that is specified by , and then returns the value of the application setting.
The visual designer uses the method to evaluate an application setting expression and provide the design-time value for an associated control property. The visual designer calls the method with the expression string, and uses the evaluated expression result to assign control property values that are rendered on the design surface.
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.
Evaluates an application setting expression string and provides the design-time value for a control property.
The object referenced by , if the expression evaluation succeeded; otherwise, null.
An application setting expression string to evaluate. does not include the AppSettings expression prefix.
An object containing additional parsing information for evaluating .
The control property type.
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 a simple editor sheet implementation, which uses a single input string to form the expression.
Returns an expression editor sheet for an application setting expression.
An implementation that defines the application setting expression properties.
The expression string set for a control property, used to initialize the expression editor sheet. does not include the AppSettings expression prefix.
A service provider implementation supplied by the designer host, used to obtain additional design-time services.
2.0.0.0