如何删除 WPF ListView 右侧多余的空 space(column)

HOWTO Remove the extra empty space(column) on the right handside of a WPF ListView

我有一个包含三列的 WPF ListView。我看到在我的 ListView 中,右侧出现了一个额外的空 space(column),我不知道为什么。如何使用 XAML 删除这个额外的 space?

<ListView x:Name="MyListView"
          Grid.Column="0"                             
          AlternationCount="{Binding pathList.Count}"
          ItemsSource="{Binding pathList}" 
          IsSynchronizedWithCurrentItem="True">
    <ListView.ItemContainerStyle>
        <Style TargetType="ListViewItem">
            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
        </Style>
    </ListView.ItemContainerStyle>
    <ListView.View>
        <GridView>
            <GridViewColumn x:Name="LvItemId" 
                            Header="#"
                            Width="20"
                            DisplayMemberBinding="{Binding (ItemsControl.AlternationIndex),
                            RelativeSource={RelativeSource AncestorType=ListViewItem}}"/>
            <GridViewColumn Header="Path"
                            Width="350"
                            CellTemplate="{StaticResource NameColumnTemplate}"/>
            <GridViewColumn  Header="Edit | Delete"
                             Width="80"
                             CellTemplate="{StaticResource AddDelItemTemplate}"/>
        </GridView>
    </ListView.View>
</ListView>

ListViewHorizontalAlignment 属性 设置为 Left 以防止其水平拉伸:

<ListView x:Name="MyListView"
          Grid.Column="0"                             
          AlternationCount="{Binding pathList.Count}"
          ItemsSource="{Binding pathList}" 
          IsSynchronizedWithCurrentItem="True"
          HorizontalAlignment="Left">
          ...