Edytuj

Udostępnij za pośrednictwem


AppSettingsExpressionEditor.GetExpressionEditorSheet Method

Definition

Returns an expression editor sheet for an application setting expression.

public:
 override System::Web::UI::Design::ExpressionEditorSheet ^ GetExpressionEditorSheet(System::String ^ expression, IServiceProvider ^ serviceProvider);
public override System.Web.UI.Design.ExpressionEditorSheet GetExpressionEditorSheet (string expression, IServiceProvider serviceProvider);
override this.GetExpressionEditorSheet : string * IServiceProvider -> System.Web.UI.Design.ExpressionEditorSheet
Public Overrides Function GetExpressionEditorSheet (expression As String, serviceProvider As IServiceProvider) As ExpressionEditorSheet

Parameters

expression
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
IServiceProvider

A service provider implementation supplied by the designer host, used to obtain additional design-time services.

Returns

An ExpressionEditorSheet implementation that defines the application setting expression properties.

Remarks

The GetExpressionEditorSheet method returns a simple editor sheet implementation, which uses a single input string to form the expression.

Applies to

See also