title: WP7 - LongListSelector, how to hide vertical scroll bar
body: <p>I need to hide vertical scrollbar in <code>LongListSelector</code>. For this I use: </p>
  
  <blockquote>
    <p>ScrollViewer.VerticalScrollBarVisibility="Hidden"</p>
  </blockquote>
  
  <p>In ListBox it works well but in LongListSelector it doesn't work.</p>
  
  <p>This is my LongListSelector code:</p>
  
  <pre><code>&lt;Grid x:Name="ContentPanel"
        Grid.Row="1"
        Margin="12,0,12,0"&gt;
    &lt;toolkit:LongListSelector x:Name="TasksLongListSelector"
                              Margin="0,12,0,0"
                              Background="Transparent"
                              ScrollViewer.VerticalScrollBarVisibility="Hidden"&gt;
      &lt;toolkit:LongListSelector.GroupHeaderTemplate&gt;
        &lt;DataTemplate&gt;
          &lt;Border Width="431"
                  Height="53"
                  HorizontalAlignment="Left"
                  BorderThickness="2"
                  BorderBrush="White"
                  Margin="13,0,0,22"&gt;
            &lt;Grid HorizontalAlignment="Stretch"
                  VerticalAlignment="Stretch"&gt;
              &lt;Grid.ColumnDefinitions&gt;
                &lt;ColumnDefinition Width="*" /&gt;
                &lt;ColumnDefinition Width="Auto" /&gt;
              &lt;/Grid.ColumnDefinitions&gt;
              &lt;TextBlock Text="{Binding Key, Converter={StaticResource LocalDateConverter}}"
                         FontSize="20"
                         FontWeight="Bold"
                         Foreground="White"
                         HorizontalAlignment="Left"
                         Padding="14,10,0,0" /&gt;
              &lt;Image Grid.Column="1"
                     Source="/Images/CalendarWhiteIcon.png"
                     Width="21"
                     Height="21"
                     HorizontalAlignment="Right"
                     VerticalAlignment="Top"
                     Margin="0,13,14,0" /&gt;
            &lt;/Grid&gt;
          &lt;/Border&gt;
        &lt;/DataTemplate&gt;
      &lt;/toolkit:LongListSelector.GroupHeaderTemplate&gt;
      &lt;toolkit:LongListSelector.ItemTemplate&gt;
        &lt;DataTemplate&gt;
          &lt;Button Background="White"
                  Width="455"
                  Height="105"
                  Margin="0,-12,0,12"
                  Tag="{Binding Id}"
                  HorizontalContentAlignment="Stretch"
                  VerticalContentAlignment="Stretch"
                  Click="Button_Click_1"&gt;
            &lt;Grid HorizontalAlignment="Stretch"
                  VerticalAlignment="Stretch"&gt;
              &lt;Grid.ColumnDefinitions&gt;
                &lt;ColumnDefinition Width="Auto" /&gt;
                &lt;ColumnDefinition Width="Auto" /&gt;
                &lt;ColumnDefinition Width="Auto" /&gt;
                &lt;ColumnDefinition Width="*" /&gt;
              &lt;/Grid.ColumnDefinitions&gt;
              &lt;Grid.RowDefinitions&gt;
                &lt;RowDefinition Height="*" /&gt;
                &lt;RowDefinition Height="24" /&gt;
              &lt;/Grid.RowDefinitions&gt;
              &lt;TextBlock Grid.ColumnSpan="4"
                         Text="{Binding Name}"
                         FontSize="24"
                         Foreground="#400000" /&gt;
              &lt;Image Grid.Row="1"
                     Visibility="{Binding Project, Converter={StaticResource StringToVisibilityConverter}}"
                     Source="/Images/ProjectIcon.png"
                     Width="20"
                     Height="18"
                     HorizontalAlignment="Left"
                     VerticalAlignment="Top"
                     Margin="0,0,5,0" /&gt;
              &lt;TextBlock Grid.Row="1"
                         Grid.Column="1"
                         Visibility="{Binding Project, Converter={StaticResource StringToVisibilityConverter}}"
                         Text="{Binding Project, Converter={StaticResource ToUppercaseConverter}}"
                         FontSize="16"
                         Foreground="#666666"
                         HorizontalAlignment="Left"
                         VerticalAlignment="Top"
                         Margin="0,-2,9,0"
                         LineStackingStrategy="BlockLineHeight" /&gt;
              &lt;Image Grid.Row="1"
                     Grid.Column="2"
                     Visibility="{Binding Context, Converter={StaticResource StringToVisibilityConverter}}"
                     Source="/Images/ContextIcon.png"
                     Width="20"
                     Height="18"
                     HorizontalAlignment="Left"
                     VerticalAlignment="Top"
                     Margin="-3,1,1,0" /&gt;
              &lt;TextBlock Grid.Row="1"
                         Grid.Column="3"
                         Visibility="{Binding Context, Converter={StaticResource StringToVisibilityConverter}}"
                         Text="{Binding Context, Converter={StaticResource ToUppercaseConverter}}"
                         FontSize="16"
                         Foreground="#666666"
                         HorizontalAlignment="Left"
                         VerticalAlignment="Top"
                         Margin="0,-2,0,0"
                         LineStackingStrategy="BlockLineHeight" /&gt;
            &lt;/Grid&gt;
          &lt;/Button&gt;
        &lt;/DataTemplate&gt;
      &lt;/toolkit:LongListSelector.ItemTemplate&gt;
    &lt;/toolkit:LongListSelector&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>How can I hide vertical scrollbar in LongListSelector?</p>