New to Telerik UI for WPFStart a free 30-day trial

A class that contains various helpful extension methods for RadExpressionEditor

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Expressions.dll

Syntax:

C#
public static class RadExpressionEditorExtensions

Inheritance: objectRadExpressionEditorExtensions

Methods

Converts the string representation of an expression to its Expression equivalent. A return value indicates whether the conversion was successful.

C#
public static bool TryParse(this RadExpressionEditor expressionEditor, string expressionText, out Expression result)
Parameters:expressionEditorRadExpressionEditor

The RadExpressionEditor instance which will perform the conversion.

expressionTextstring

A string containing a well-formed expression to convert.

resultExpression

When this method returns, contains the LINQ Expression equivalent to the well-formed expression contained in expressionText, if the conversion succeeded, or null if it failed. This parameter is passed uninitialized.

Returns:

bool

true if expressionText was converted successfully; otherwise, false.