RouteValueExpressionEditor.GetExpressionEditorSheet Method (String, IServiceProvider)
Returns an expression editor sheet for a RouteValue expression.
Assembly: System.Design (in System.Design.dll)
Public Overrides Function GetExpressionEditorSheet ( expression As String, serviceProvider As IServiceProvider ) As ExpressionEditorSheet
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.ExpressionEditorSheetA 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.
Available since 4.0