Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How to align attributes in xaml files like sample projects

$
0
0

Can you please tell me how to set code formatting in Xamarin Studio so my xaml attributes will look like this (from the introduction http://developer.xamarin.com/guides/cross-platform/xamarin-forms/introduction-to-xamarin-forms/):

<ListView x:Name="listView"
          IsVisible="false"
          ItemsSource="{x:Static local:App.Employees}"
          ItemSelected="EmployeeListOnItemSelected">
    <ListView.ItemTemplate>
  .........

The best thing I can do up to now is:

    <ContentPage Title="Hello XAML Page 1"
        Padding="10, 40, 10, 10"
        Icon="contact_icon.png">
        <StackLayout>
        ......

I want all attributes align to the first one.

Thank you.


Viewing all articles
Browse latest Browse all 58056

Trending Articles