6.5. Where Are We?
WPF provides resource facilities that let us plug bits of our
user interface together dynamically but consistently. We can store any objects
we like in resource dictionaries and then refer to these resources throughout
our applications. WPF's styling mechanism relies on resource dictionaries to
set properties and templates for our controls, based either on an application's
skin or the currently configured system theme. And for binary resources,
including the compiled BAML versions of our XAML files, WPF uses the
localization-aware ResourceManager system, which chooses the most
appropriate resources for the end user's chosen user-interface culture.
|