Recommendation around creating dark/light mode in Windows app

How is best to make a windows app have a dark mode?

Not all controls have background color property.

So looking for some tips on how to implement.