private void CardIconClickAction(string carIndexs) { CardShow = Visibility.Collapsed; if (carIndexs == "1") { ManualGenerationShow = Visibility.Visible; FunctionIdGenerationShow = Visibility.Collapsed; ExcleGenerationShow = Visibility.Collapsed; } else if (carIndexs == "2") { ManualGenerationShow = Visibility.Collapsed; FunctionIdGenerationShow = Visibility.Visible; ExcleGenerationShow = Visibility.Collapsed; } else if (carIndexs == "3") { ManualGenerationShow = Visibility.Collapsed; FunctionIdGenerationShow = Visibility.Collapsed; ExcleGenerationShow = Visibility.Visible; } flipper.OnApplyTemplate(); }