-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the Data Binding Modes page
- Loading branch information
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...report-designer/report-designer-for-winforms/bind-to-data/data-binding-modes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters