DEV Community

Max Angelo Dapitilla Perin
Max Angelo Dapitilla Perin

Posted on

Answer: How to set a Checkbox checked property to true

I suppose you only mean that on opening a form, one or more check boxes are checked .

Simply write in the Form_Load method

private void Form_Loaded (object sender, RoutedEventArgs e) {
    CheckBox1.IsChecked = true;
}
</p>
Enter fullscreen mode Exit fullscreen mode



Top comments (0)