News

Xamarin.Forms 4.8 Ships with Experimental Drag & Drop, Gradients/Brushes

Microsoft shipped Xamarin.Forms 4.8 with two new experimental features leading the improvements to the C#-based cross-platform UI toolkit: gradients/brushes for "painting" in an app and drag-and-drop functionality within an app.

Those are the two main highlights of a release for which the dev team focused on stabilizing current features, moving experimental features to stable, and finishing the Gradient brush support.

The three types of brushes are:

Because Brush support in Xamarin.Forms is currently experimental, it can only be used by setting the Brush_Experimental flag.

The second major experimental feature, drag and drop, lets users move items from one location to another area within an app (see animated graphic below) or to a separate app.

Drag and Drop
[Click on image for larger, animated GIF view.] Drag and Drop in Action (source: Microsoft).

Along with setting the DragAndDrop_Experimental flag, Microsoft listed five steps that developers must take to enable the new functionality in their coding. Full documentation is available here.

The two new experimental features join a host of others that include CarouselView, Expander, MediaElement, Shapes, SwipeView, and UWP Shell.

Another new feature in Xamarin-Forms 4.8 is the ability to set the backdrop color of a flyout menu.

"The introduction of the flyout backdrop color makes the shell is even more customizable!" said Jake Kirsch, program manager, Xamarin.Forms, in an August 7 blog post. "Changing the the flyout backdrop color changes the color of the overlay that covers the page of your application when opening the flyout backdrop."

More details on all of the above and much more can be found in the Xamarin.Forms 4.8 release notes.

Xamarin.Forms ships on a six-week release cycle, and Xamarin.Forms 5.0 is due out at the end of September.

Going forward, the roadmap calls for furthering the transition to .NET MAUI, a single-stack UI framework that supports all modern workloads: Android, iOS, macOS, and Windows.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Microsoft Revamps Fledgling AutoGen Framework for Agentic AI

    Only at v0.4, Microsoft's AutoGen framework for agentic AI -- the hottest new trend in AI development -- has already undergone a complete revamp, going to an asynchronous, event-driven architecture.

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

Subscribe on YouTube