private async void cmbStatus_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (cmbStatus.SelectedValue != null)
     {
         if (cmbStatus.SelectedValue.ToString().Equals("2"))
         {
             statusCita sstsc = new statusCita();
             cmbStatusCita.ItemsSource       = sstsc.listarStatus();
             cmbStatusCita.DisplayMemberPath = "descripcion";
             cmbStatusCita.SelectedValuePath = "idSubStatus";
             cmbStatusCita.IsEnabled         = true;
         }
         else
         {
             cmbStatusCita.ItemsSource = null;
             cmbStatusCita.IsEnabled   = false;
         }
         if (!cmbStatus.SelectedValue.Equals(null))
         {
             if (cmbStatus.SelectedValue.ToString().Equals("11") || cmbStatus.SelectedValue.ToString().Equals("12"))
             {
                 tlDetalleCita.IsEnabled = true;
                 await p.ShowMessageAsync("InformaciĆ³n", "Debe de proporcionar datos de adicionales al estatus", MessageDialogStyle.Affirmative);
             }
             else
             {
                 tlDetalleCita.IsEnabled = false;
             }
         }
     }
 }
        private void comboStatusCita()
        {
            statusCita sts = new statusCita();

            // sts.idSubStatus = (int)cmbStatusCita.SelectedValue;
            cmbStatusCita.ItemsSource       = sts.listarStatus();
            cmbStatusCita.DisplayMemberPath = "descripcion";
            cmbStatusCita.SelectedValuePath = "idSubStatus";
        }