System.Web.UI.Design.ExpressionEditor.ExpressionPrefix Property

Gets the expression prefix that identifies expression strings that are supported by the expression editor implementation.

Syntax

public string ExpressionPrefix { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The expression prefix identifies the custom expression type and associates an expression with the expression builder and expression editor. When custom expressions are parsed in a page, the expression prefix is used to create instances of the associated System.Web.Compilation.ExpressionBuilder and System.Web.UI.Design.ExpressionEditor classes. To associate an expression prefix with an expression builder and expression editor, apply the System.Web.Compilation.ExpressionEditorAttribute and System.Web.Compilation.ExpressionPrefixAttribute attributes to the custom System.Web.Compilation.ExpressionBuilder class and configure the expression prefix for an expression builder in the expressionBuilders element in the Web configuration file.

Typically, derived classes do not override the ExpressionEditor.ExpressionPrefix property. The base System.Web.UI.Design.ExpressionEditor class sets the ExpressionEditor.ExpressionPrefix value based on the System.Web.Compilation.ExpressionPrefixAttribute attribute for the associated System.Web.Compilation.ExpressionBuilder object.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0