RouteValueExpressionEditor.GetExpressionEditorSheet Method (String, IServiceProvider)

.NET Framework (current version)
 
Use BaseTrue

Returns an expression editor sheet for a RouteValue expression.

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

public override ExpressionEditorSheet GetExpressionEditorSheet(
	string expression,
	IServiceProvider serviceProvider
)

Parameters

expression
Type: System.String

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

serviceProvider
Type: System.IServiceProvider

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

Return Value

Type: System.Web.UI.Design.ExpressionEditorSheet

A RouteValueExpressionEditorSheet instance that defines the RouteValue expression properties.

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.

.NET Framework
Available since 4.0
Return to top
Show: