Set Increment Number or Index Value in a DataGrid
<p>I'm having a Collection of type <strong><code>Mobile</code></strong></p>

<pre><code>public class Mobile
{
    public string MobileName { get; set; }
    public string MobileOS { get; set; }
}

ObservableCollection&lt;Mobile&gt; MobileList = new ObservableCollection&lt;Mobile&gt;()
{
    new Mobile() { MobileName = "iPhone 6", MobileOS = "IOS" },
    new Mobile() { MobileName = "Galaxy S6", MobileOS = "Android" },
    new Mobile() { MobileName = "Lumina", MobileOS = "Windows" },
}
</code></pre>

<p>The appropriate WPF <code>DataGrid</code> (XAML)</p>

<pre><code>&lt;DataGrid Name="Grid1" AutoGenerateColumns="False" ItemsSource="{Binding MobileList, UpdateSourceTrigger=PropertyChanged}"&gt;
    &lt;DataGrid.Columns&gt;
        &lt;!--Column 1--&gt;
        &lt;DataGridTextColumn Binding="" Header="Index" /&gt;
        &lt;!--Column 2--&gt;
        &lt;DataGridTextColumn Binding="{Binding MobileName}" Header="Name" /&gt;
        &lt;!--Column 3--&gt;
        &lt;DataGridTextColumn Binding="{Binding MobileOS}" Header="OS" /&gt;
    &lt;/DataGrid.Columns&gt;
&lt;/DataGrid&gt;
</code></pre>

<p>I need to set the Index value in <strong>Column 1</strong>. Kindly assist me how to set the index value for the column which is associated with the collection.</p>

<blockquote>
  <p><strong>Note</strong>: I need this in XAML Level not in C# Code Level Implementation</p>
</blockquote>

<p><strong>Required Data Grid : Model Snapshot</strong></p>

<p><a href="https://i.stack.imgur.com/LRj9B.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LRj9B.jpg" alt="enter image description here"></a></p>