Jump to content
LaunchBox Community Forums
Jason Carr

XAML Tips and Tricks

Recommended Posts

@Styphelus Follow the steps here from the discussion between myself and nielk1 last night read all the posts from us and that should get it up and running for you 

 

  • Like 1

Share this post


Link to post
Share on other sites

When I look at the error list i get 2 errors:

The member "CoverFactory" is not recognized or is not accessible.    BigBoxTheme    H:\LaunchBox\Themes\Default - Copy\Views\PlatformWheel2FiltersView.xaml    22    

No idea how to resolve this. Not a coder either. Just trying to modify some themes slightly.

Share this post


Link to post
Share on other sites

@Styphelus if you follow the few posts i linked read the conversation between myself and nielk1 and add all the the references described in the posts it will sort out the issue.

Share this post


Link to post
Share on other sites
20 minutes ago, Maddoc1007 said:

@Styphelus if you follow the few posts i linked read the conversation between myself and nielk1 and add all the the references described in the posts it will sort out the issue.

I did. Still no clue how to fix it.

Share this post


Link to post
Share on other sites

@Styphelus Open up your theme in visual Studio then on the right top you will see references right click and then click on add references see screenshot.Untitled.thumb.png.54b1657443501b6b2cd60995e6615f23.pngthis opens up another dialogue box click on the browse button on bottom see screenshotUntitled1.thumb.png.be6fe324d8ce9ff5c937cdc4c796ae14.pngBrowse to the LaunchBox folder, and then the metadata folder and add all the dll's in there and click on ok.  Then follow the above steps again and browse to the LaunchBox folder again and add the BigBox.exe and the Launchbox.exe that should do it.

Edited by Maddoc1007

Share this post


Link to post
Share on other sites

Thanks for taking the time but the only thing it allows me to add is Unbroken.Launchbox.Plugins.dll. 

Most of the views now work but none of the WheelGamesView files work. Still displaying the same error. I'm at a loss.

Share this post


Link to post
Share on other sites

I was wondering if it would be possible (perhaps via the plugin system), to create custom Theme Settings (Maybe as Bindings), that could then be conditionally queried through the XAML files, and what the syntax for accessing them would be. I am currently creating a Theme that could really do with some changeable settings.

Share this post


Link to post
Share on other sites
7 hours ago, alec100_94 said:

I was wondering if it would be possible (perhaps via the plugin system), to create custom Theme Settings (Maybe as Bindings), that could then be conditionally queried through the XAML files, and what the syntax for accessing them would be. I am currently creating a Theme that could really do with some changeable settings.

Yes I believe it is possible. @eatkinola has already implemented the plugin system in his theme Epoch09 and produced some independent plugins as well as @Grila for general uses.

Those are the right people for your queries when it comes to the plugin system as well as the man himself @Jason Carr

Share this post


Link to post
Share on other sites
17 hours ago, alec100_94 said:

I was wondering if it would be possible (perhaps via the plugin system), to create custom Theme Settings (Maybe as Bindings), that could then be conditionally queried through the XAML files, and what the syntax for accessing them would be. I am currently creating a Theme that could really do with some changeable settings.

Yes, it is possible but requires code behind using the plugin framework to do so. For example, you could use the ISystemMenuItemPlugin interface to add an menu item w/text "Config Alec's Theme". When clicked, this plugin would display another window that could be used to change theme settings. I'm working on something like this to configure a custom library I'm releasing. To use custom bindings, you would have to develop your own objects in code behind containing the properties you want to bind.

Another option (which does not require code behind) is to use as approach as in Minimal-AO, which uses styles XAML files that can be hand-edited to customize the theme. It requires editing text files but works well.

Share this post


Link to post
Share on other sites

I am fairly new to developing WPF apps and am trying to figure out how to send information from BigBox to a custom user control. 

How do I send something like  {Binding SelectedGame.Favorite} to a custom user control from the XAML view?

Share this post


Link to post
Share on other sites

Hello guys. Ive been doing some coding with grila's control plugins. I'd like to ask how do you add really dark and fuzzy shadows under the text without redrawing the text 3 times over top of each other? I'm trying to get some real dark and fuzzy shadows going along with if I play in 4K, the shadows wont thin out like they currently are. any insight?

 

Lastly, anyone have psp xmb fonts for windows or know how to convert .pgf fonts to windows .font?

Edited by shinra358

Share this post


Link to post
Share on other sites

How do i make a text block that shows how many games you own for the particular platform?

Also how can i make images appear that loaded from a path? mine always disappear

Share this post


Link to post
Share on other sites

Can somebody please help me out? I need to reference whatever the platform background is in the games section.

Share this post


Link to post
Share on other sites

I ran into that problem as well and ended up doing exactly what you first said only I just had it once underneath in black and simply moved the top up and to the left by 2. I was surprised there wasn't a obvious way to add it but I couldn't find out how to do it sorry

Share this post


Link to post
Share on other sites

You can add drop shadows in XAML, no need to duplicate and stack text.

Sent from my Pixel XL using Tapatalk

Share this post


Link to post
Share on other sites

Yeah, I know. But the problem is, no matter how high I turn the settings, under text, the shadows don't get as dark as I want. But strangely, for large objects, they get dark as I like.

Share this post


Link to post
Share on other sites

Anybody know how to stretch the animated gifs? Not a single control seems to work. Not row or column span. Not Stretch Fill. Not the h or v alignments. Nothing.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...