In a Xaml/C# WinRT application, whenever a ListViewItem is selected, the first letter on the left gets chopped off. How can I prevent this?

<!-- language: lang-xml -->
<ListView>
    <ListViewItem Content="Hello World"/>
</ListView>

Unselected and Full:

Unselected and Full

Selected and Truncated:

Selected and Truncated

You can apply a margin to an item within the ListViewItem itself like below, which will stop the cut off. Alternatively you could use a ContentTemplate as the second example.

Example 1:

<!-- language: lang-xml -->
<ListView>
    <ListViewItem>
        <TextBlock Text="Hello World" Margin="5,0,0,0"/>
    </ListViewItem>
</ListView>

Example 2:

<!-- language: lang-xml -->
<ListView>
    <ListViewItem Content="Hello World!">
        <ListViewItem.ContentTemplate>

            <DataTemplate>
                <TextBlock Text="{Binding}" Margin="5,0,0,0"/>
            </DataTemplate>
            
        </ListViewItem.ContentTemplate>
    </ListViewItem>
</ListView>