I have a menu created with AppBarToggleButton
with property IsChecked="True"
.
How do you make C # to activate or deactivate your "checked"
status?
I have a menu created with AppBarToggleButton
with property IsChecked="True"
.
How do you make C # to activate or deactivate your "checked"
status?
I found it, with the method IsChecked
, in addition to knowing if the toggle is selected or not, we can define its status, its use is as follows
botonToggle.IsChecked = true;
botonToggle.IsChecked = false;
Para more information official reference of AppBarToggleButton class