WinForms — Early Access Preview (v20.2)

WinForms Team Blog
24 August 2020

First and foremost, we hope that this post finds you and your family well.

Our next major release - v20.2 – is a couple of months away. In this post, I’ll describe what we expect to include in our v20.2 Early Access Preview (EAP) build. If you are an active DevExpress Universal or DXperience subscriber, you can download and install the EAP today. Simply, point your browser to the DevExpress Download Manager to get started.

Remember, Early Access and CTP builds are provided solely for early testing purposes and are not ready for production use. This build can be installed side by side with other major versions of DevExpress products. Please backup your project and important data before installing Early Access and CTP builds.

Perhaps most importantly, this EAP does not include all features/products we expect to ship in our v20.2 release cycle. We are working hard to finalize all v20.2 features/capabilities and once we have more information to share, we’ll post updates on this channel.

WinForms Data Grid - New Fixed Columns Mode

As you may know, you can use our WinForms Grid’s GridColumn.Fixed property to anchor columns to either side of the Grid Control. Once anchored, a column remains visible when users scroll data horizontally. In v20.2, you’ll be able to apply our new "MiddleLeft" fixed mode option. When active, “MiddleLeft” columns can move freely to the right, but dock to the left when you scroll the control in the opposite direction.

The following animation helps illustrates the power of this new feature. “MiddleLeft” has been applied to both the "Country" and "Address" columns.

Documentation: Fixed Columns

WinForms Scheduler Control

Year View

In addition to classic calendar Views (Day, Week and Month), our WinForms Scheduler control will ship with a Year View display option. It’s been designed to visualize events/appoints that span multiple days and weeks.

Much like the MonthView.WeekCount property (allows you to set the number of weeks that are simultaneously displayed within the Month View), our new WinForms Scheduler Year View will include a MonthCount property. Additional View-related settings mirror those of the Month View.

Please note that we have yet to finalize the Year View’s feature set. At this point, you cannot group appointments or scroll through months (you must use the Date Navigator instead). We expect to add these (and other) features prior to official release.

New Cell AutoHeight Mode in Timeline View

The CellsAutoHeightOptions.Enabled property has been renamed to AutoHeightMode and now accepts enumeration values instead of Boolean. "None" and "Limited" values correspond to "false" and "true". A third value - "Full" - activates our new AutoHeight mode.

When AutoHeight is used, time cells ignore the ResourcesPerPage property value and resize based upon content. This also allows users to pixel-scroll the Timeline View.

Documentation: AutoHeightMode

WinForms Gantt Control - Split Tasks

In this EAP build, you can test our Gantt control’s new Split Task feature. If a partially completed task needs to be put on hold, a user can drag the unfinished portion to the left to pause the task. A task can be split into multiple segments. To merge two task segments, drag one portion into the other. This will eliminate the time gap between the two.

Users can split tasks at runtime when the GanttControlOptionsBehavior.AllowSplitTasks property is enabled. Split tasks are stored in a separate data source assigned to the GanttControl.SplitTaskSource property.

Documentation: Split Tasks

Data-bound WinForms TokenEdit Control

You can now bind our WinForms TokenEditontrol to a data source and populate it with items. To set data members that store token captions and internal values, specify the DisplayMember and ValueMember properties.

tokenEdit1.Properties.DataSource = categoryBindingSource;
tokenEdit1.Properties.ValueMember = "ID";
tokenEdit1.Properties.DisplayMember = "Name";

Documentation: Token Edit Control

WinForms Diagram Control

SVG Export

The Diagram Control now supports export in vector (SVG) format.

Documentation: Printing and Exporting

Measure Units

You can enable the DiagramOptionsView.ShowMeasureUnit option to display measure units in the Properties Panel, Page Setup Window, and Bottom Panel. In addition to pixels used by default, users can specify values in other measurement units (inches and millimeters).

Miscellaneous

  • We now offer a IsCompact option for the Org Chart. Set this option to false to calculate the offset for all tip-over subtrees rather than individual levels of the hierarchy. This improves readability for diagrams with extensive use of subtrees.
  • You can hold the middle mouse button and drag to pan the diagram. The AllowMiddleButtonDrag option allows you to disable this behavior.

Your Feedback Matters

We realize beta-testing is a time consuming process and we are grateful to those who invest time with our preview builds. Find the current implementation lacking flexibility? Feel we've overlooked a valuable usage scenario? Does our current implementation fail to address your business requirements? Please post your thoughts in the comment section below or create a Support Center ticket. We will happily follow-up and do what we can to extend the capabilities of our new products/features.

Showcase Your Apps on DevExpress.com

Highlight your business app and share your development experiences with the DevExpress community. To include your app in our upcoming App Showcase, please forward an application screenshot to clientservices@devexpress.com and tell us which DevExpress products you currently use within your organization.
Konstantin Balashov
Konstantin Balashov

Any news about Dental Clinic demo application?

https://community.devexpress.com/blogs/winforms/archive/2019/10/29/dental-clinic-demo-and-svgimagebox-control.aspx

It was announced about year ago....

24 August 2020
Alvis Kums
Alvis Kums

Damn...Year view!!!!!!!!!!!!!

And those fixed columns..something, I personally, never seen! Interesting. But year view!!

24 August 2020
Dmitry (DevExpress)
Dmitry (DevExpress)

@Konstantin

Hi. As I've answered before, it's been severely reworked a few months ago. We are just as excited and impatient to release new real-life demos as you are, but it's our responsibility to make sure the demo is flawless before we ship it to our customers. Do not worry, we haven't forgotten our promise and will announce it the minute it's ready to go.


@Alvis 

Year View was one of the top-voted items in our 2020 Roadmap poll. Hopefully, others who voted for it will have the same reaction :) Thank you!

24 August 2020
Daniel 1424
Daniel 1424

Hello,

great news so far!

What is with the lookup editor that supports multiple item selection? 

24 August 2020
Christopher Jay
Christopher Jay
Thanks
24 August 2020
Dmitry (DevExpress)
Dmitry (DevExpress)
Hi Daniel. We have partly brought that promise to life with the data-bound Token Edit control. Now this is a data-aware editor with a drop-down list of items, and it allows users to select multiple items.


I assume you're asking this because your data source has a lot of columns that you'd like to display in the editor's drop-down panel, and Token Edit is not an ideal control for this kind of data, is that correct?
24 August 2020
Daniel 1424
Daniel 1424
you are right and Token Edit also not support multiple columns.
24 August 2020
Dmitry (DevExpress)
Dmitry (DevExpress)

@Daniel

Thank you for the confirmation. Yes, we keep discussing an editor like that internally, but at this stage, I'm afraid I cannot make any promises, nor share an approximate timeframe.

In the meantime, please remember that you can still use our PopupContainerEdit to manually create a look-up editor that supports multiple item selection. See this example for details: How to provide the MultiSelect functionality for GridLookUpEdit.

24 August 2020
Gustavo Vigo
Gustavo Vigo
Congratulations, you have done a great job with splitting tasks. It is an excellent and necessary option for Gantt control.
I'm looking forward to the end of the year: Critical Phat, ETD Reports, Graphs.
Devexpress a great team.
24 August 2020
OMER DONMEZ
OMER DONMEZ
Thanks
24 August 2020
Customer69806
Mikael 69806
Great work! 
24 August 2020
Lior
Jim

We are using a lot the Data Grid control, nice to see new features are added in every release which is important.

Excellent work on the Gantt control, we will consider migrating our existing third party control.

Would it be possible to add more images to the SVG image gallery ?

Thanks for the great effort and work put into your WinForms controls suite!

25 August 2020
Sergey Antoshkov
Sergey Antoshkov
Great, Thanks!
25 August 2020
Moritz B.
Moritz B.

Great Update!

What about DateTimeOffset support ? :)

26 August 2020
Simon Hewitt
Simon Hewitt

Yay Year View! 

My use-case will be to show a single year for a school library year.

I've not used Scheduler before so these may be simplistic questions:-

a) Will it be possible to custom draw the 'outside-of-month-row' cells? (e.g. the first three and last three cells on January on your screenshot - I want to draw those cells completely blacked out leaving 'jagged' month rows)

b) Can I assume that ToolTips/FlyoutPanels per day are easy to add?


Can TokenEdit now handle multi-lines yet making it look like a Panel?
(I already have a custom TokenEdit that does this but I always prefer an official version)


26 August 2020
Paul Thompson 7
Paul Thompson 7

Hi Dmitry,


I like the "MiddleLeft" floating anchor on the grid. It made me think about chasing up a suggestion I made a few months ago (https://supportcenter.devexpress.com/ticket/details/t862561/xtragrid-introduce-spacing-between-columns

That is to add blank / white space columns between actual columns. I have a hard coded grid in production, but I wouldn't readily chose to implement another one, given the issues I ran in to getting it to work.

Any thoughts on whether this might make it in to the development plan ?

26 August 2020
Eduardo Quintana
Eduardo Quintana

Hi!

I am always wondering what will come next when a new release is announced.

At least for WinForms, the changes and new implementations shown so far, are a little modest, at least for the DXperience components I use.

I hope there are new announcements soon.

Keep up your superb work!

Eduardo Quintana


26 August 2020
Eric Zimmerman_
Eric Zimmerman_

DateTimeOffset will be supported when something takes its place =)


seriously tho, its been far too long to not support DateTimeOffset properly 

26 August 2020
Srikrishnan
Srikrishnan
Very interested in plans for Spreadsheet Control in WinForms. Any developments planned in future 20.x releases?
26 August 2020
Greg Bishop
Greg Bishop
Will these 20.2 WinForms components work in the Visual Studio designer with .NET Core 3.0 and/or the .NET 5 preview?
26 August 2020
Timur Sabirov
Timur Sabirov

Good!

How abaut New customization form (v20.2) for GridControl ?

26 August 2020
Dmitry (DevExpress)
Dmitry (DevExpress)

@Jim: No, this feature is not in the cards yet. We know that many customers wish to add their own icons, but as you know our icons have certain requirements. SVGs that do not follow these recommendations can behave incorrectly in our skins, and we'd like to keep only guaranteed fail-safe icons in our Gallery. But since this question keeps coming, I believe we have no other option than to give it a thought someday and try to find a reasonable solution.


@Moritz, Eric: DateTimeOffset is on it's way, we're working on it alongside an improved mask engine. I cannot say whether it will be released in v20.2 or not, but I can assure you it's definitely in progress.


@Simon: I believe yes, you can expect all CustomDraw events available for other Scheduler Views to be available in Year View as well (my guess the SchedulerControl.CustomDrawTimeCell event will do the trick). As for tooltips - I'm afraid I don't fully understand your scenario. Tooltips are commonly used when you hover appointments, not empty day cells. What information would you like to display? Are you talking about date tooltips, so that a user could quickly understand which cell they hover without looking up at View headers? If so, I believe yes, you can expect it will be easy to implement.


Regarding your question about TokenEdit, as far as I can recall, it could stretch across multiple lines from the very first version. Have a look at this animation, is that what you mean? Or did I misunderstand your question?


@Paul: Any valuable suggestion can make it to the development plan :) We will have yours in mind, thank you for sharing this.


@Eduardo: We've slightly modified our approach for this Early Access Preview announcement. Instead of announcing every little enhancement that is available in this EAP build, we highlighted only major features that you can test and leave valuable feedback. In the end, that's the point of our EAP builds. If I told you that a Scheduler now supports new navigation buttons in its View header (View selector and a Calendar button, you can enable both in this EAP build) - it's highly unlikely it would get a lot of attention. So we're leaving those straightforward enhancements for the official What's New announcement, and focus on most anticipated features only.


@Srikrishnan:  Our Office Team expects to implement Excel 2016 charts for the WinForms Spreadsheet control in the upcoming major release (v20.2). The following chart types will be supported: waterfall, box and whisker, histogram, sunburst, funnel, Pareto, and treemap. You can refer to this post for more information on the most significant features our Office Team expects to release this year: Office File API & Office-Inspired Desktop UI Controls – 2020 Roadmap.


@Greg: We have no other choice than to make sure they do, so the short answer is "Yes" :)


@Timur: We're working on it. At this stage, this new DataGrid customization form boasts a new design and supports column reordering, but we still have a lot of useful features to implement.

27 August 2020
Mark Bissett 1
Mark Bissett 1

+1 for Paul Thompsons idea of having the ability to add some blank space between specified columns or even a thicker drawn left or right border. Tried it using some suggestions in the KB but never managed to get it to work particularly well with grouping, auto filter rows, summary bands etc.

Other than that, the list of improvements look great. Got my fingers crossed for a new tiling engine for the Map control.

27 August 2020
Greg Bishop
Greg Bishop
@Dmitry:  Thank you for your response.  I was asking if WinForms controls *currently* work with either .NET Core 3 or .NET 5 Preview 8 (as opposed to any final release of the WinForms controls).
28 August 2020
Toloknov Denis
Toloknov Denis
 “We're working on it. At this stage, this new DataGrid customization form boasts a new design and supports column reordering, but we still have a lot of useful features to implement.” - COOL!
28 August 2020
Toloknov Denis
Toloknov Denis
 “We're working on it. At this stage, this new DataGrid customization form boasts a new design and supports column reordering, but we still have a lot of useful features to implement.” - COOL!
28 August 2020
Dmitry (DevExpress)
Dmitry (DevExpress)
@Greg Current Preview builds display controls at design time, but since .NET Core designer is still incompatible with 3rd party controls, our designers do not work. We're keeping a finger on a pulse and will make sure to release a fully functional build as soon as it's possible.
31 August 2020
CRM-0de832c2-0234-4db7-8e72-6d63e98fbe95
progressbar
How to add  progressbar control to footer gridview?
13 September 2020
Dmitry (DevExpress)
Dmitry (DevExpress)
@Customer165140 As I can see, you've already created a Support Center ticket. You can either use the approach described by our support engineers (drop a Progress Bar on top of the Grid, and update its position and size when the SizeChanged event fires) or add a ProgressBar to the Ribbon Status Bar control below the Grid. The latter means the Progress Bar will be shown a bit lower than you wanted, but in return, you won't have to track form size changes and manually update the editor.
17 September 2020
Junior Thurler
Junior Thurler

Hi guys! I have a suggestion to XtraGrid: the ability for the end-user to be able to rename the columns headers. I've tried to do this but I believe that this feature should be native to the control and be stored in the save layout methods. 

Please forgive if this feature is available right now and I don't know. 

19 September 2020
Jonathan Reis 1
Jonathan Reis 1
Dmitry, WinForms Common Dialogs (v20.1 and v20.2) was originally part of the v20.1/2, was this dropped? I have not seen any mention of it any where.
9 October 2020

Please login or register to post comments.