LaunchBoxContributors
On this page

ILaunchBoxMainViewModel9.2

Interface in Unbroken.LaunchBox.Plugins.Data

C#
public interface ILaunchBoxMainViewModel
Provides plugin access to the LaunchBox interface. Added in LaunchBox and Big Box 9.2-beta-3.

Properties

ArrangeBy

C#
string ArrangeBy { get; set; }
Gets or sets the current arrange by value for the LaunchBox side bar.

BoxSize

C#
double BoxSize { get; set; }
Gets or sets the current box size in the LaunchBox boxes view.

ContentBackgroundView Changed 10.0

C#
object ContentBackgroundView { get; }
Gets the current content background UI element.

ContentView Changed 10.0

C#
object ContentView { get; }
Gets the current content UI element.

ControlsBarHeight

C#
double ControlsBarHeight { get; set; }
Gets or sets the height of the controls bar.

GameDetailsView Changed 10.0

C#
object GameDetailsView { get; }
Gets the current game details UI element.

GameDetailsWidth

C#
double GameDetailsWidth { get; set; }
Gets or sets the width of the game details.

ImageGroup

C#
string ImageGroup { get; }
Gets the current active image group that is in use in the LaunchBox boxes view.

ListView

C#
bool ListView { get; }
Gets a value specifying whether or not the list view is active in LaunchBox.

SideBarWidth

C#
double SideBarWidth { get; set; }
Gets or sets the width of the side bar.

Methods

  • CloseExits LaunchBox.
  • EnterImagesView13.3Sets the view to Images View if it isn't already.
  • EnterListView13.3Sets the view to List View if it isn't already.
  • MaximizeMaximizes the LaunchBox window.
  • MinimizeMinimizes the LaunchBox window.
  • PlayGameLaunches the specified game or additional application with the specified settings; uses the full game startup process including the startup screen if enabled.
  • RefreshData10.7Refreshes and repopulates all data displayed in LaunchBox.
  • RestoreRestores the LaunchBox window if it has been maximized or minimized.

Close

C#
void Close()
Exits LaunchBox.

EnterImagesView 13.3

C#
void EnterImagesView()
Sets the view to Images View if it isn't already.

EnterListView 13.3

C#
void EnterListView()
Sets the view to List View if it isn't already.

Maximize

C#
void Maximize()
Maximizes the LaunchBox window.

Minimize

C#
void Minimize()
Minimizes the LaunchBox window.

PlayGame

C#
void PlayGame(
    IGame game,
    IAdditionalApplication app,
    IEmulator emulator,
    string overrideCommandLine
)
Launches the specified game or additional application with the specified settings; uses the full game startup process including the startup screen if enabled.
game
The game to launch.
app
The game's additional application to launch. Leave null to launch the main game.
emulator
The specific emulator to use. Leave null to use the game's default emulator or no emulator at all.
overrideCommandLine
The overridden commandline parameters to use. Should be left null in most cases.

RefreshData 10.7

C#
void RefreshData()
Refreshes and repopulates all data displayed in LaunchBox.

Restore

C#
void Restore()
Restores the LaunchBox window if it has been maximized or minimized.