Question: I'm new to VBA so there might be a simple answer to this question but if there is I sure haven't found it. What I am doing is copying data from several workbooks into one master workbook. I have writen the code for this and it works fine. The only problem is the workbooks where I'm retriving the data have userforms that automatically initiate when the workbook is accesed. This means that when I run my code to copy the data it hangs at each userform and wont continue until I've physically closed each userform. So my question is: Is there a way to remotely close the userforms in the raw data workbooks from my master workbook VBA code? Thanks in advance.

Answer: 
In your `ListView.Resources`, override the `ItemBackgroundHover` brush resource:

```
<SolidColorBrush x:Key="ItemBackgroundHover" Color="Transparent" />

```

Do the same for `ItemBackgroundSelected` if you don't want the selected item to be highlighted.

You may also need to override the foreground brushes if you support the Modern Light theme. You can see the brushes that get applied [here](https://mui.codeplex.com/SourceControl/latest#1.0/FirstFloor.ModernUI/FirstFloor.ModernUI/Assets/ListView.xaml).

This won't work if you replace Modern UI's `ListViewItem` style with your own, but you could base yours off of theirs, and it should work:

```
<Style TargetType="ListViewItem"
       BasedOn="{StaticResource {x:Type ListViewItem}}">

```

---

Also, based on your screenshot, you probably don't need to be using a `ListView`, as you appaerntly don't care about selecting items. You could use a simple `ItemsControl`.

---

To remove the button chrome, you can create a style like this:

```
<Style x:Key="GlyphButton" TargetType="Button">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="Button">
        <Border>
          <ContentPresenter x:Name="ContentSite" />
        </Border>
        <ControlTemplate.Triggers>
          <Trigger Property="IsPressed" Value="True">
            <Setter TargetName="ContentSite"
                    Property="Margin"
                    Value="1,1,-1,-1" />
          </Trigger>
        </ControlTemplate.Triggers>
      </ControlTemplate>
    </Setter.Value>
  </Setter>
</Style>

```
The older answers here didn't work for me. I was forced to override the ListView.ItemContainerStyle:

```
<Style TargetType="{x:Type ListViewItem}">  
    <Setter Property="Background" Value="Transparent" />
    <Setter Property="BorderBrush" Value="Transparent"/>
    <Setter Property="VerticalContentAlignment" Value="Center"/>
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="{x:Type ListViewItem}">
                <Grid Background="{TemplateBinding Background}">
                    <Border Name="Selection" Visibility="Collapsed" />
                    <!-- This is used when GridView is put inside the ListView -->
                    <GridViewRowPresenter Grid.RowSpan="2"
                                          Margin="{TemplateBinding Padding}"
                                          HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                          VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                          SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>

                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>  

```

I found and modified the code from [here](https://mui.codeplex.com/SourceControl/latest#1.0/FirstFloor.ModernUI/FirstFloor.ModernUI/Assets/ListView.xaml) which was mentioned in the other answer by Mike Strobel. The majority of changes I made was removing the trigger section.