This documentation is archived and is not being maintained.

RouteValueExpressionEditor::GetExpressionEditorSheet Method

This member overrides ExpressionEditor::GetExpressionEditorSheet(String, IServiceProvider), and more complete documentation might be available in that topic.

Returns an expression editor sheet for a RouteValue expression.

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

public:
virtual ExpressionEditorSheet^ GetExpressionEditorSheet(
	String^ expression, 
	IServiceProvider^ serviceProvider
) override

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

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: