WPF: Reset Colors to use template colors -


I currently have a list bititem container, which is selected when the background blue color changes.

However later I set programmatic: Border. Background = new solid colorbrush (colors.white);

How do I reset the border background now to use template colors again? Now when I select the box again, this selection does not go back to color again.

  border.ClearValue (Border.BackgroundProperty);  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -