LaunchBox Views Reference
Written By launchbox
Last updated About 1 month ago
LaunchBox Desktop themes are built from several themeable XAML views. Each view controls a specific part of the LaunchBox window or one of the reusable UI regions inside it.
This article is a starting reference for the main views in a LaunchBox theme. The remaining articles in this collection cover each area in greater depth.
Main Window Views
Content Views
These two views are the main views used for browsing game lists and filtered library content.
Details Views
If a theme does not provide PlatformFiltersDetailsView.xaml, LaunchBox can fall back to GameDetailsView.xaml.
Notification Views
How the Views Fit Together
MainView.xaml is the top-level composition view. Most other views are loaded into regions inside it.
A simplified mental model looks like this:
MainView.xaml SideBarView.xaml ContentBackgroundView.xaml BoxesContentView.xaml or ListContentView.xaml GameDetailsView.xaml or PlatformFiltersDetailsView.xaml ControlsView.xaml WorkingView.xamlNotifications are separate UI surfaces that use NotificationListView.xaml and NotificationView.xaml.
Common Binding Areas
Each view has its own view model, but several common binding areas show up across the theme:
Brushes for foreground, background, hover, selection, separators, controls, and sidebar colors.
Fonts and sizing values driven by LaunchBox visual settings.
Visibility properties that hide or show specific UI states.
Commands for game actions, navigation actions, media controls, and notification actions.
Image and media paths for game art, platform art, backgrounds, and previews.
When learning a view, start from the Default theme version of that file. It shows the expected bindings and the shape of the view model for that part of the interface.
Recommended Order for Learning the Views
Start with
MainView.xamlto understand the overall layout.Review
SideBarView.xamlso you understand navigation and filtering.Review
BoxesContentView.xamlandListContentView.xamlfor the library browsing views.Review
GameDetailsView.xamlandPlatformFiltersDetailsView.xamlfor details panels.Customize
ControlsView.xaml,WorkingView.xaml, and notification views after the main layout is stable.
Related Articles
In Short
A LaunchBox Desktop theme is a set of XAML views in LBThemes\[Theme Name]\Views. MainView.xaml controls the overall window, while the other views control specific regions like the sidebar, content lists, details panels, controls, progress overlay, and notifications.