RouteUrlExpressionEditor.GetExpressionEditorSheet Method (String, IServiceProvider)
Returns an expression editor sheet for a RouteUrl expression.
Assembly: System.Design (in System.Design.dll)
override GetExpressionEditorSheet : expression:string * serviceProvider:IServiceProvider -> ExpressionEditorSheet
Parameters
- expression
-
Type:
System.String
The expression string that is used to initialize the expression editor sheet. The expression does not include the RouteUrl expression prefix.
- serviceProvider
-
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.ExpressionEditorSheetA 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.
Available since 4.0