<toolkit:ExpanderView x:Name="SettingsDetection" Margin="0,20,0,0" Style="{StaticResource ExpanderViewStyle1}" Collapsed="ExpanderView_Collapsed" Expanded="ExpanderView_Expanded">
  <toolkit:ExpanderView.Header>
    <TextBlock Text="{Binding Path=LocalizedResources.Alert_SettingsDetection, Source={StaticResource LocalizedStrings}}" Margin="12,0,12,0" Style="{StaticResource PhonePageSubtitleStyle}"/>
  </toolkit:ExpanderView.Header>
  <toolkit:ExpanderView.Items>
    <StackPanel IsHitTestVisible="False">
      <TextBlock x:Name="labelFirstWarningDistance" Text="Distance, m" Margin="12,20,12,0"/>
      <Slider x:Name="sldFirstWarningDistance" />
      <Grid x:Name="gridMarkers1" Margin="12,-24,12,0">
        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="1*"/>
          <ColumnDefinition Width="2*"/>
          <ColumnDefinition Width="2*"/>
          <ColumnDefinition Width="3*"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="0" Foreground="{StaticResource PhoneTextMidContrastBrush}" />
        <TextBlock Text="500" Grid.Column="1" HorizontalAlignment="Center" Foreground="{StaticResource PhoneTextMidContrastBrush}" />
        <TextBlock Text="1000" Grid.Column="2" HorizontalAlignment="Center" Foreground="{StaticResource PhoneTextMidContrastBrush}" />
        <TextBlock Text="2000" Grid.Column="3" HorizontalAlignment="Right" Foreground="{StaticResource PhoneTextMidContrastBrush}" />
      </Grid>
      <CheckBox x:Name="chkVarDistance" Content="{Binding Path=LocalizedResources.Alert_VarDistance, Source={StaticResource LocalizedStrings}}"/>
    </StackPanel>
  </toolkit:ExpanderView.Items>
</toolkit:ExpanderView>