Skip to content

Commit

Permalink
Move the Data Binding Modes page
Browse files Browse the repository at this point in the history
Move the Data Binding Modes page
  • Loading branch information
serge-andreyev authored May 12, 2021
2 parents 6183ab3 + 1000a98 commit a5bc1c9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Data Binding Modes
author: Anna Gubareva
---
# Data Binding Modes

The Report Designer works in one of the following data binding modes:

* **Expressions** is the default binding mode.

This mode enables you to specify complex [expressions](../use-expressions.md) that include two or more data fields, [report parameters](../shape-report-data/use-report-parameters.md), or [functions](../use-expressions/expression-syntax.md). You can also use expressions to [calculate summaries](../shape-report-data/calculate-summaries/calculate-a-summary.md) of any complexity or [conditionally shape your data](../shape-report-data/specify-conditions-for-report-elements.md).

Click a property's marker to see whether the invoked context menu has the **PropertyName Expression** item that invokes the **Expression Editor**.

![Property Marker](../../../../images/eurd-win-binding-modes-property-marker.png)

The **Expression Editor** allows you to use functions, access report bands and controls, and reference data source values in the constructed expression.

![Expression Editor](../../../../images/eurd-win-binding-modes-expression-editor.png)

* **Expressions Advanced** is the advanced Expression mode.

This mode enables you to specify an expression that is evaluated within a control's specific event.

![property-grid-expression-advanced-tab](../../../../images/eurd-win-binding-modes-expressions-advanced.png)

The **Expression Editor** allows you to use event argument values in the constructed expressions. Event arguments are available in the [Variables](../use-expressions/expression-syntax.md) section.

In the **BeforePrint** event, you can use data fields from all queries in the data source.

![Expression Editor for the BeforePrint event](../../../../images/eurd-win-binding-modes-data-fields.png)

In the **PrintOnPage** event, data source fields are not available because data was fetched when this event occurs. You can use the event arguments that are available in the [Variables](../use-expressions/expression-syntax.md) section.

![Expression Editor for the PrintOnPage event](../../../../images/eurd-win-binding-modes-event-arguments.png)
4 changes: 2 additions & 2 deletions interface-elements-for-desktop/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@
href: articles\report-designer\report-designer-for-winforms\bind-to-data\bind-a-report-to-a-transformation-based-data-source.md
- name: Bind a Report to a Federated Master-Detail Data Source
href: articles\report-designer\report-designer-for-winforms\bind-to-data\bind-a-report-to-a-federated-master-detail-data-source.md
- name: Data Binding Modes
href: articles/report-designer/report-designer-for-winforms/use-expressions/data-binding-modes.md
- name: Create Reports
href: articles/report-designer/report-designer-for-winforms/create-reports.md
items:
Expand Down Expand Up @@ -887,8 +889,6 @@
items:
- name: Expression Syntax
href: articles/report-designer/report-designer-for-winforms/use-expressions/expression-syntax.md
- name: Data Binding Modes
href: articles/report-designer/report-designer-for-winforms/use-expressions/data-binding-modes.md
- name: Use Report Scripts
href: articles/report-designer/report-designer-for-winforms/use-report-scripts.md
- name: Print, Preview and Export Reports
Expand Down

0 comments on commit a5bc1c9

Please sign in to comment.