Reporting - New API, Documentation Updates and Tips & Tricks (January 2021)

Reporting Team Blog
20 January 2021

This Tips & Tricks post includes links to a few interesting technical support tickets and info on product/documentation updates. We hope this information will be helpful to those of you considering DevExpress Reports for an upcoming project. As always, should you have any questions, feel free to post your comments below.

New API - BrickSelector and DataSourceManager Classes

In our upcoming update (v20.2.5), we will introduce classes designed to simplify the use of report document bricks and report data sources at runtime:

  • BrickSelector - allows you to access visual “bricks” from a report document based on brick type, its tag, or text. You’ll be able to call class methods and work with bricks using a single line of code instead of iterating through numerous document bricks.
  • DataSourceManager - retrieves data sources from a report and/or report controls with their own data source (such as Chart and Cross Tab). Class methods include a includeSubReports flag. As such, you’ll be able to obtain info on all document data sources via a single method call.

Documentation Updates

We have revised and updated the following documentation topics (topics related to the creation of custom report controls):

We have also updated the following documentation topics:

End-User Documentation Updates

We updated the End-User Documentation section for the DevExpress Report Designer and Document Viewer controls. This portion of our help file now includes v20.2 related features/descriptions. Remember, you can freely distribute the End-User Documentation section of our help file with your solution.

F1 - A Quick Way to Get API Help

Did you know you can place the cursor on a DevExpress class, method, or property in Visual Studio and hit F1 to jump to relevant help topics in your web browser? For instance, you can focus on the JsonDataSource's FillAsync method and press F1. Many help topics include code examples that you can paste and run in your application. This feature is part of the DevExpress product installation and does not require additional configuration (like installing offline help).

Interesting Support Tickets

Reporting – Multiple Supported Platforms (WinForms, WPF, ASP.NET, .NET Core)

Reporting for Blazor

Reporting for ASP.NET Core

Reporting for ASP.NET Web Forms

Reporting for Windows Forms

Reporting for WPF

FREE DevExpress Xamarin UI Controls

Deliver high-impact native mobile apps with our feature-rich Data Grid, Scheduler, Chart, TabView, Editors, and utility controls. Reserve your free copy today!
Saif Khan
Saif Khan
BrickSelector Class - What is considered a brick tho?
21 January 2021
Dmitry Tok (DevExpress Support)
Dmitry Tok (DevExpress Support)

Hi Saif,

Documents generated via DevExpress Reports consist of pages. These pages in turn contain multiple “bricks.” I realize the phrase “brick” might seem odd, but it’s simply a low-level projection of a report control or its elements. The brick manages the appearance of a report control (and its individual sections) in a printed or exported document. Refer to this help topic to learn more about bricks and their functionality: Bricks.

Feel free to reach out to our support team if you need further clarification. 

 

24 January 2021

Please login or register to post comments.