[]
The Alias feature allows users to assign more meaningful and convenient names to fields from the data source. This is especially useful when original field names are unclear, technical, or does not suit the user’s application. For example, if a data source contains a field named “Age”, the user can create an alias such as “Kids Age” and use the alias throughout the expression instead.
Sample Usage
private void SetupExpressionEditor()
{
expressionEditor.Engine.DataSource = _data;
expressionEditor.Engine.AddAlias(
// Name of the field or key of the data
"Age",
// Define the alias
"KidsAge");
}