Xamarin Forms - How to visually create a form - xamarin.forms

How in Xamarin Forms, can I visually layout and create a form. Like you do in WPF , WinForms etc.. etc... in VS and everyother IDE. Do I alway have to hand-jam the XAML? Seems so absurd.
thanks in advance and have a great coding day

There is no Visual Designer, that has drag and drop functionality. You must code all views in either XAML or C#. (Preferably XAML).
The options you do have, is to view the XAML you are creating in real time, after you have typed it.
Xamarin Previewer (still in preview, built in to Xamarin)
Xamarin Inspector (if you have Visual Studio Enterprise)
UI Sleuth (Like Xamarin Inspector, more geared towards Xamarin Forms, and free)
Gorilla Player (works by actually running on a real device or simulator, but you don't have to keep compiling your app to see changes).
Give it a few weeks of writing XAML and it gets much easier.

Related

UWP - Is there a File Explorer control?

I'm writing an UWP app, in C# netcore. targeting min API 1809, with VS2019
I'm trying to add a ContentDialog that performs operations with storage files. And I want to add a FileExplorer control in that dialog. For selecting multiple files.
The Controls available in the XAML library, (and in the Community Toolkit Library) seems to lack the File Explorer Control. Like shown in the following image (from a very old software):
I want to add to my app something like in the image. A Visual Control for displaying files and folders, and allow to select them. Does it exists?
Please guys, I beg don't tell me to use the UWP TreeView Control because I think it sucks.
Thanks and regards!
UWP - Is there a File Explorer control?
UWP does not has exactly the same control like above screenshot, but it has TreeView control that could implement similar feature. Please check this document for more detail. And we also provide Xaml Control Gallery app that you could refer.

Drag and drop with Xamarin forms?

Is it possible to implement dragging and dropping an element in a Xamarin Forms project? I thought this would be simple but I cant seem to find anything online about it.
Pretty light on samples for it actually. Here's a Xamarin forms list view (not by me) with dnd to get you started.
https://github.com/isychev93/Xamarin.Forms-Drag-and-drop-ListView

Xamarin Forms HTML editor

I'm looking for a HTML editor to that can be used in a Xamarin Forms Project. I need both an iOS and Android implementation. Another option is to try and shoehorn one of the existing open source projects in to a custom forms control. Anyone have any ideas?
There is the "TEditor": https://github.com/XAM-Consulting/TEditor
Never tried but it does look good (though i dont know if its still in active developement)

Selecting an ASP.NET RIA framework for rapid development?

We have an ASP.NET silverlight application, which is becoming limited by the requirement to have Silverlight installed.
I'd like to switch to a new framework, but don't want to have to build an entire new system from scratch. Ideally I'd like to find a third-party framework that has all of the basics available right out of the box, so we can start adding our pages to the application and use our current business logic (mostly WCF calls). Telerik & ComponentOne seem like good places to start, but so far I haven't seen either of them have a "complete" application that we can use as a starting point. Am I missing something? Can you suggest other frameworks? I'm really looking for something that gives us a great jumping off point to develop a rich UI in as little time as possible.
Some features I'd like to see are:
User authentication/registration/preferences
Custmomizable Site navigation map
Pages avaialble based upon roles
Rich UI experience (right clicks a plus)
I can speak for Telerik as I am one of the evangelist for Telerik. We at telerik have 70+ controls on the ASP.NET AJAX front and they all are RAD controls. You can just drag and drop and you have the flexibility to use a GUI to set the properties or through HTML or through code behind. We complement whatever ASP.NET has to offer and because of that there is no separate learning curve involved.
To get you a feel of completeness - I suggest that you take a look at the following integration examples - an end to end scenario apps.
Olympic Games - http://demos.telerik.com/aspnet-ajax/sample-applications/olympic-games/
Image Gallery - http://demos.telerik.com/aspnet-ajax/imagegallery/
Sales Dashboard - http://demos.telerik.com/aspnet-ajax/salesdashboard/
Rent A Car - http://demos.telerik.com/aspnet-ajax/carrental/
Schedule Builder - http://demos.telerik.com/aspnet-ajax/schedulebuilder/
Web Mail - http://demos.telerik.com/aspnet-ajax/webmail/
Ecommerce - http://demos.telerik.com/aspnet-ajax/ecommercestore/
Whats more - all these demos can be downloaded and you will get the source code. So you can base your project right out of these samples.
Please go through all the above integration examples. Hope this provides some insight into your decision making process.
Also we do have an HTML5 based JavaScript UI framework called Kendo UI. This is a complete client side control rendering using javascript which will speed up your apps like anything. And this can be used in ASP.NET MVC scenarios as this fits very well in those. Nevertheless whether you use MVC or not you can still make use of the HTML5 based JavaScript Widgets available as part of the Kendo UI on any web application platform.
http://demos.kendoui.com/web/overview/index.html
Hope this helps you !

Application targeting multiple devices (Win 7 Phone, iOS, Android, Win 8)

I am working on a small hobby app - which would show some charts, and would be accessible by people using their mobile devices. I come from a Microsoft development background - have used Telerik, Infragistics controls in the past, and loved them.
From my research so far - it seems like I will have to build an app that outputs HTML5 for maximum compatibility.
I like the ComponentOne controls so far - http://www.componentone.com/SuperProducts/StudioiPhone/
I am also looking at the KendoUI (http://www.kendoui.com/) - I like it, but seems like it is all javascript, and I have very limited experience there.
Are there any components/frameworks that you guys would recommend ? Paid components are fine.
I just want a few charts that are accessible everywhere. I know I could use MVC - and design a different a different UI layer for each platform, but I dont have that much time.
Maybe you want to consider ASP.NET MVC and expose it as a web site, since ASP.NET MVC 4 will have explicit mobile support.
Also, if you want an actual application, you could consider various products like:
http://www.phonegap.com/
http://www.appcelerator.com/
it depends what type of feature you want to make available. Must of the HTML-based frameworks require JavaScript.
HTH.
Have you looked at Sencha? While I have not played with the Sencha charts, I have tried other widgets.
www.sencha.com
You can put together ASP.net MVC at the backend with Sencha consisting of HTML5 + Javascript
Stick with ComponentOne if you want to keep working in WebForms and aren't OK with JavaScript. They have HTML5 charts that work everywhere too.
If you are looking to move to MVC/JavaScript then ComponentOne has Wijmo too. Wijmo is 30 jQuery UI widgets including the same HTML5 charts they extend in WebForms.

Resources