ILaunchBoxMainViewModel9.2
Interface in Unbroken.LaunchBox.Plugins.Data
public interface ILaunchBoxMainViewModel
Provides plugin access to the LaunchBox interface. Added in LaunchBox and Big Box 9.2-beta-3.
Properties
ArrangeByGets or sets the current arrange by value for the LaunchBox side bar.BoxSizeGets or sets the current box size in the LaunchBox boxes view.ContentBackgroundViewChanged 10.0Gets the current content background UI element.ContentViewChanged 10.0Gets the current content UI element.ControlsBarHeightGets or sets the height of the controls bar.GameDetailsViewChanged 10.0Gets the current game details UI element.GameDetailsWidthGets or sets the width of the game details.ImageGroupGets the current active image group that is in use in the LaunchBox boxes view.ListViewGets a value specifying whether or not the list view is active in LaunchBox.SideBarWidthGets or sets the width of the side bar.
ArrangeBy
string ArrangeBy { get; set; }
Gets or sets the current arrange by value for the LaunchBox side bar.
BoxSize
double BoxSize { get; set; }
Gets or sets the current box size in the LaunchBox boxes view.
ContentBackgroundView Changed 10.0
object ContentBackgroundView { get; }
Gets the current content background UI element.
ContentView Changed 10.0
object ContentView { get; }
Gets the current content UI element.
ControlsBarHeight
double ControlsBarHeight { get; set; }
Gets or sets the height of the controls bar.
GameDetailsView Changed 10.0
object GameDetailsView { get; }
Gets the current game details UI element.
GameDetailsWidth
double GameDetailsWidth { get; set; }
Gets or sets the width of the game details.
ImageGroup
string ImageGroup { get; }
Gets the current active image group that is in use in the LaunchBox boxes view.
ListView
bool ListView { get; }
Gets a value specifying whether or not the list view is active in LaunchBox.
SideBarWidth
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
void Close()
Exits LaunchBox.
EnterImagesView 13.3
void EnterImagesView()
Sets the view to Images View if it isn't already.
EnterListView 13.3
void EnterListView()
Sets the view to List View if it isn't already.
Maximize
void Maximize()
Maximizes the LaunchBox window.
Minimize
void Minimize()
Minimizes the LaunchBox window.
PlayGame
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
void RefreshData()
Refreshes and repopulates all data displayed in LaunchBox.
Restore
void Restore()
Restores the LaunchBox window if it has been maximized or minimized.