संपादित करें

इसके माध्यम से साझा किया गया


RouteValueExpressionEditorSheet Class

Definition

Represents a design-time editor sheet for the properties of a RouteValue expression in the UI of a designer host at design time.

public ref class RouteValueExpressionEditorSheet : System::Web::UI::Design::ExpressionEditorSheet
public class RouteValueExpressionEditorSheet : System.Web.UI.Design.ExpressionEditorSheet
type RouteValueExpressionEditorSheet = class
    inherit ExpressionEditorSheet
Public Class RouteValueExpressionEditorSheet
Inherits ExpressionEditorSheet
Inheritance
RouteValueExpressionEditorSheet

Remarks

The visual designer uses the RouteValueExpressionEditor class together with the RouteValueExpressionEditorSheet class to select the individual properties of a RouteValue expression, and to combine the selected expression property values into a RouteValue expression.

The RouteValueExpressionEditor.GetExpressionEditorSheet method returns a RouteValueExpressionEditorSheet object. In the expressions dialog box, when you select a control property and bind it to a RouteValue expression, the visual designer calls the GetExpressionEditorSheet method. The visual designer uses the returned RouteValueExpressionEditorSheet object to prompt for the RouteValue property. Once the property is selected, the visual designer calls the GetExpression method to create a RouteValue expression string.

The RouteValue property must be specified in order to create a RouteValue expression string.

Constructors

RouteValueExpressionEditorSheet(String, IServiceProvider)

Initializes a new instance of the RouteValueExpressionEditorSheet class.

Properties

IsValid

Gets a value that indicates whether the RouteValue expression string is valid.

RouteValue

Gets or sets the name of the URL parameter to be evaluated by the RouteValue expression.

ServiceProvider

Gets the service provider implementation that is used by the expression editor sheet.

(Inherited from ExpressionEditorSheet)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetExpression()

Returns a RouteValue expression that is formed by the expression editor sheet property values.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also