New to Telerik UI for WPF? Download free 30-day trial

Templates Structure

Like most UI controls, RadExpressionEditor allows you to template it in order to change the control from inside. Except for templating the whole control, you can template parts of it or even independent controls related to it.

This topic will make you familiar with the template structure of RadExpressionEditor.

RadExpressionEditor

  • PART_RootElement - hosts the elements of the template. It represents the border of the RadExpressionEditor and is of type Border.

  • PART_ExpressionEditorGrid - provides rows for the template elements. It represents the background of the RadExpressionEditor and is of type Grid.

  • PART_ExpressionNodeEditor - represents the editor of RadExpressionEditor and it is of type ExpressionTextBox.

  • CalculationPanel - represents the Panel which hosts the ExpressionEditor’s buttons and is of type Border.

  • StackPanel

  • Plus - represents the Plus button and is of type RadButton.

  • [Path]

  • Minus- represents the Minus button and is of type RadButton.

  • [Path]

  • Multiply- represents the Multiply button and is of type RadButton.

  • [Path]

  • Divide- represents the Divide button and is of type RadButton.

  • [Path]

  • Percent- represents the Percent button and is of type RadButton.

  • [Path]

  • Equals- represents the Equals button and is of type RadButton.

  • [Path]

  • NotEquals- represents the NotEquals button and is of type RadButton.

  • [Path]

  • LessThan- represents the LessThan button and is of type RadButton.

  • [Path]

  • LessThanOrEquals- represents the LessThanOrEquals button and is of type RadButton.

  • [Path]

  • GreaterThanOrEquals- represents the GreaterThanOrEquals button and is of type RadButton.

  • [Path]

  • GreaterThan - represents the GreaterThan button and is of type RadButton.

  • [Path]

  • And- represents the And button and is of type RadButton.

  • Or- represents the Or button and is of type RadButton.

  • Not- represents the Not button and is of type RadButton.

  • Grid

  • PART_EditorCategoriesTree- represents the Categories of the functions exposed by RadExpressionEditor and is of type RadTreeView.

  • PART_EditorItemsTree- represents the items of the functions exposed by RadExpressionEditor and is of type RadTreeView.

  • EditorInfoPanel- represents the info panel of RadExpressionEditor, which provides information about a specific functions exposed by RadExpressionEditor and is of type Border.

  • Grid

  • TextBlock - represents the QuickInfo of the SelectedItem in RadExpressionEditor and it is of type TextBlock.

  • TextBlock - represents the Description of the SelectedItem in RadExpressionEditor and it is of type TextBlock.

  • EditorResultsPanel- represents the results panel of RadExpressionEditor, which provides information about the returned result by the performed calculations.

  • StackPanel

  • TextBlock

  • TextBlock- represents the result preview of RadExpressionEditor and it is of type TextBlock.

WPF RadExpressionEditor Template Structure WPF

In this article