background

UI for WPF

WPF ExpressionParser

  • The Telerik UI for WPF ExpressionParser helps you easily parse expressions without having to rely on the ExpressionEditor control.
  • Part of the Telerik UI for WPF library along with 160+ professionally-designed UI controls.
  • Includes support, documentation, demos, virtual classrooms, Visual Studio Extensions and more!
Telerik UI for WPF ExpressionParser
  • Parse Expressions Without Expression Editor

    In some scenarios, the ExpressionEditor graphical user interface is not required, but its parsing logic for a given expression is. With the Telerik UI for WPF ExpressionParser you can easily parse expressions through several methods.  

    Documentation on the Telerik UI for WPF ExpressionParser
    Parse Expressions Without Expression Editor with WPF ExpressionParser
  • Parse

    You can use the Parse method to try to directly parse the expression and return a LambdaExpression if successfully parsed. 
    WPF ExpressionParser demonstrating a Parse operation
  • ParseAsync

    The two overloads of the ParseAsync method operate in the same manner as the Parse method, with the difference being that they are performed asynchronously. In the second overload, aside from the expression to be parsed, you can pass a cancellation token that will be assigned to the new task. 

    Documentation on the Telerik UI for WPF ExpressionParser
  • TryParse

    The TryParse method tries to convert the string representation of an expression to its LambdaExpression equivalent. The returned value indicates whether the conversion succeeded or failed. 
    TryParse method in the WPF ExpressionParser
  • Item

    You can use the Item property to be able to access the public members of the passed object. 

    For more info on how to use the Telerik UI for WPF ExpressionParser visit the documentation

All WPF Components

Next Steps