In the Desktop application, I have a toggle button:
<ToggleButton x:Name="CFStglBtn" Checked="cfsCBox_Checked"
Unchecked="cfsCBox_Unchecked"
IsChecked="True" HorizontalAlignment="Left" Margin="5,0,0,0">
<StackPanel Orientation="Horizontal">
<Image Source="assets\telephone.png" Margin="3,0,0,0" />
<TextBlock Text="CFS" FontSize="10" Margin="5,5,5,0"
Foreground="DarkSlateGray"/>
</StackPanel>
</ToggleButton>
For the checked event, I set the value and then execute the FilterView () method; // ommitting code
An uncontrolled state is just the opposite. resets the variable and executes the method again
The question I have is that I noticed that when I remove the toggle button, the button continues to pulse or blink (from blue to chrome), as if it still had focus. The button will remain so until another button is pressed.
Is there a way to remove this focus, so that when the button is not installed, the button returns to an unverified state without blinking / pulsating color.
- As you can see from above, this is a standard toggle button with no styles or custom
- , , , /, .
.