RouteValueExpressionEditorSheet Class
TOC
Collapse the table of content
Expand the table of content

RouteValueExpressionEditorSheet Class

.NET Framework (current version)
 

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

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

System.Object
  System.Web.UI.Design.ExpressionEditorSheet
    System.Web.UI.Design.RouteValueExpressionEditorSheet

Public Class RouteValueExpressionEditorSheet
	Inherits ExpressionEditorSheet

NameDescription
System_CAPS_pubmethodRouteValueExpressionEditorSheet(String, IServiceProvider)

Initializes a new instance of the RouteValueExpressionEditorSheet class.

NameDescription
System_CAPS_pubpropertyIsValid

Gets a value that indicates whether the RouteValue expression string is valid.(Overrides ExpressionEditorSheet.IsValid.)

System_CAPS_pubpropertyRouteValue

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

System_CAPS_pubpropertyServiceProvider

Gets the service provider implementation that is used by the expression editor sheet.(Inherited from ExpressionEditorSheet.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetExpression()

Returns a RouteValue expression that is formed by the expression editor sheet property values.(Overrides ExpressionEditorSheet.GetExpression().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft