AppSettingsExpressionEditor::GetExpressionEditorSheet Method (String^, IServiceProvider^)
Returns an expression editor sheet for an application setting expression.
Assembly: System.Design (in System.Design.dll)
public: virtual ExpressionEditorSheet^ GetExpressionEditorSheet( String^ expression, IServiceProvider^ serviceProvider ) override
Parameters
- expression
-
Type:
System::String^
The expression string set for a control property, used to initialize the expression editor sheet. expression does not include the AppSettings expression prefix.
- serviceProvider
-
Type:
System::IServiceProvider^
A service provider implementation supplied by the designer host, used to obtain additional design-time services.
Return Value
Type: System.Web.UI.Design::ExpressionEditorSheet^An ExpressionEditorSheet implementation that defines the application setting expression properties.
The GetExpressionEditorSheet method returns a simple editor sheet implementation, which uses a single input string to form the expression.
Available since 2.0
Configuration::AppSettings
System.Web.Compilation::AppSettingsExpressionBuilder
System.Web.UI.Design::ExpressionEditorSheet
System.Web.Compilation::ExpressionBuilder
HtmlControlDesigner::Expressions
System.Web.Compilation::ExpressionEditorAttribute
AppSettingsExpressionEditor Class
System.Web.UI.Design Namespace
appSettings Element (General Settings Schema)