Edit

Share via


RouteUrlExpressionEditor.GetExpressionEditorSheet Method

Definition

Returns an expression editor sheet for a RouteUrl 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 RouteUrl expression prefix.

serviceProvider
IServiceProvider

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

Returns

A RouteUrlExpressionEditorSheet instance that defines the RouteUrl expression properties.

Remarks

The GetExpressionEditorSheet method returns an editor-sheet implementation for RouteUrl expressions. The editor sheet for RouteUrl expressions enables users to select parameters and a route name. After users have selected the parameters and route name, the editor-sheet implementation generates a RouteUrl expression, which is returned to the visual designer.

Applies to

See also