RouteValueExpressionEditor.GetExpressionEditorSheet Method

Definition

Returns an expression editor sheet for a RouteValue 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 that is used to initialize the expression editor sheet. The expression does not include the RouteValue expression prefix.

serviceProvider
IServiceProvider

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

Returns

A RouteValueExpressionEditorSheet instance that defines the RouteValue expression properties.

Remarks

The GetExpressionEditorSheet method returns an editor-sheet implementation for RouteValue expressions. The editor sheet for RouteValue expressions enables users to select a URL parameter. After users have selected the parameter, the editor-sheet implementation generates a RouteValue expression that is returned to the visual designer.

Applies to

See also