private void checkBox1_Checked(object sender, RoutedEventArgs e)
{
if (checkBox1.IsChecked == false)
{
grid1.Visibility = System.Windows.Visibility.Hidden;
}
if (checkBox1.IsChecked == true)
{
grid1.Visibility = Visibility;
}
}
なぜ 機能しgrid1.Visibility = System.Windows.Visibility.Hidden;
ないのか、グリッドが非表示にならない