private void MoverParaFordKa(object sender, EventArgs e)
        {
            var marcas = (List <Marca>)Lista01.ItemsSource;
            var FORD   = marcas[1];
            var KA     = FORD[0];

            Lista01.ScrollTo(KA, ScrollToPosition.Center, true);
        }
Exemple #2
0
 private void MoverParaFordKa(object sender, EventArgs e)
 {
     try
     {
         var marcas = (List <Marca>)Lista01.ItemsSource;
         var ford   = marcas[1];
         var ka     = ford[0];
         Lista01.ScrollTo(ka, ScrollToPosition.Center, true);
     }
     catch (Exception)
     {
         // None
     }
 }