RouteValueExpressionEditor.GetExpressionEditorSheet Method

Definition

Returns an expression editor sheet for a RouteValue expression.

C#
public override System.Web.UI.Design.ExpressionEditorSheet GetExpressionEditorSheet(string expression, IServiceProvider serviceProvider);

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

Proizvod Verzije
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also