RouteUrlExpressionEditor.GetExpressionEditorSheet Method (String, IServiceProvider)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Use BaseTrue

Returns an expression editor sheet for a RouteUrl expression.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public override ExpressionEditorSheet GetExpressionEditorSheet(
	string expression,
	IServiceProvider serviceProvider


Type: System.String

The expression string that is used to initialize the expression editor sheet. The expression does not include the RouteUrl expression prefix.

Type: System.IServiceProvider

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

Return Value

Type: System.Web.UI.Design.ExpressionEditorSheet

A RouteUrlExpressionEditorSheet instance that defines the RouteUrl expression properties.

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.

.NET Framework
Available since 4.0
Return to top