Xamarin Controls allows you to choose parameters, and create the XAML code for a control directly in your XAML. Currently we support the following controls:-
Simply right-click in your XAML file, and select your control from the 'Insert XAML Controls' menu. This extension should be of use to experienced users, and especially for beginners to help understand how the controls are built.
Select the control you want to generate and a 'selection box' appears, allowing you to choose properties for your control. In this case we have chosen 'Label.
If you are using a 'style' for your label, you can enter it in the 'style' box, and if you have a binding context, again, enter it into the box, and it will replace the 'text' entry in the code.
The parameters persist between sessions, but if you right click on the 'group box' containing all the controls, you can go back to the default parameters.
If you select 'Control in Grid', 3 more fields appear, allowing you to select a row, column and column span, to place your control in a grid. This is available in all the controls, except the grid control.
If we change the name above to lblWelcome, and leave all the other parameters as they are, click on OK, the following code is inserted your XAML:-
Which generates this on your form:-
You can see a video of the add-in in action here.
Any questions or problems - please email email@example.com