Skip to content

Commit a5bc1c9

Browse files
Move the Data Binding Modes page
Move the Data Binding Modes page
2 parents 6183ab3 + 1000a98 commit a5bc1c9

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Data Binding Modes
3+
author: Anna Gubareva
4+
---
5+
# Data Binding Modes
6+
7+
The Report Designer works in one of the following data binding modes:
8+
9+
* **Expressions** is the default binding mode.
10+
11+
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).
12+
13+
Click a property's marker to see whether the invoked context menu has the **PropertyName Expression** item that invokes the **Expression Editor**.
14+
15+
![Property Marker](../../../../images/eurd-win-binding-modes-property-marker.png)
16+
17+
The **Expression Editor** allows you to use functions, access report bands and controls, and reference data source values in the constructed expression.
18+
19+
![Expression Editor](../../../../images/eurd-win-binding-modes-expression-editor.png)
20+
21+
* **Expressions Advanced** is the advanced Expression mode.
22+
23+
This mode enables you to specify an expression that is evaluated within a control's specific event.
24+
25+
![property-grid-expression-advanced-tab](../../../../images/eurd-win-binding-modes-expressions-advanced.png)
26+
27+
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.
28+
29+
In the **BeforePrint** event, you can use data fields from all queries in the data source.
30+
31+
![Expression Editor for the BeforePrint event](../../../../images/eurd-win-binding-modes-data-fields.png)
32+
33+
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.
34+
35+
![Expression Editor for the PrintOnPage event](../../../../images/eurd-win-binding-modes-event-arguments.png)

interface-elements-for-desktop/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@
521521
href: articles\report-designer\report-designer-for-winforms\bind-to-data\bind-a-report-to-a-transformation-based-data-source.md
522522
- name: Bind a Report to a Federated Master-Detail Data Source
523523
href: articles\report-designer\report-designer-for-winforms\bind-to-data\bind-a-report-to-a-federated-master-detail-data-source.md
524+
- name: Data Binding Modes
525+
href: articles/report-designer/report-designer-for-winforms/use-expressions/data-binding-modes.md
524526
- name: Create Reports
525527
href: articles/report-designer/report-designer-for-winforms/create-reports.md
526528
items:
@@ -887,8 +889,6 @@
887889
items:
888890
- name: Expression Syntax
889891
href: articles/report-designer/report-designer-for-winforms/use-expressions/expression-syntax.md
890-
- name: Data Binding Modes
891-
href: articles/report-designer/report-designer-for-winforms/use-expressions/data-binding-modes.md
892892
- name: Use Report Scripts
893893
href: articles/report-designer/report-designer-for-winforms/use-report-scripts.md
894894
- name: Print, Preview and Export Reports

0 commit comments

Comments
 (0)