Winrt Xaml Toolkit does not allow me to add new controls - winrt-xaml

I'd like to add the imagebutton control to my windows store app, however when I install the Winrt Xaml Toolkit using NuGet it does not allow me (using the intellisense) to add any new controls. All I'd like to do is be able to specify an image for an appBarButton when hovered and an image when pressed. I find it slightly ridiculous that Microsoft has made it so difficult. Any help is MUCH appreciated.

it's funny how I can spend hours on programming with no success, then the next morning find the answer in 5 minutes. Here's the answer I needed, was found at
How can i change background image of a button when hover or click in XAML for Windows 8?
I needed to add this xml namespace at the top of the page...
xmlns:controls="using:WinRTXamlToolkit.Controls"
Then this works.
<controls:ImageButton HorizonalAlignment="Center"
NormalStateImageSource="normal.png"
HoverStateImageSource="hover.png"
PressedStateImageSource="pressed.png" />
Hope this helps someone else who has the same question.

Related

Hide "Quick Access" pushpin icons in Windows 10 navpane?

So, I'm trying to create a minimal navigation pane in Windows Explorer on Windows 10. Under the Quick Access menu, I have pinned some favorites and frequently accessed folders/shortcuts. I believe that it'd look neater -cleaner-, to not have the little gray push pins icons to the right of the pinned folders and shortcuts. I mean, hello, I pinned them, of course they're pinned, I know it. I guess I was hoping there was some regedit mod I could change right quick to hide all push pins in the navigation pane. Does anyone know of anything like that? Google doesn't seem to....
Hide Push Pins
I realize you asked this several months ago, but here's your answer. It's a bit hack-y and involves 3rd party software, but it works perfectly.
Download Customizer God
Create a transparent .png (assuming you have Photoshop/GIMP/Affinity Photo)
Convert the .png to .ico
Open Customizer God. Select "General Icons"
Find the Quick Access pin icon by scrolling down a bit.
Hit "Change" and select your .ico
The results:

The export wizard link in the waveform overview page does nothing

I have created a simple waveform with two components in RedHawk v1.9.0 running on CentOS. I am attempting to export it for running outside the IDE and thought I could use the link for Export Wizard in the Exporting section of the Overview page (as described on 19.4.2 of the manual), but when I click on it, I get a whirling circle for as long as the mouse hovers over the link, but no new dialogs come up and if the mouse leaves the link, even that goes away. Why can I not get the export wizard?
Have you tried exporting the Waveform by dragging and dropping it from the projects view window onto the SDRROOT in the SCA Explorer window? This installs the waveform into SDRROOT (also works for components, devices, etc.), which is the same thing that the export wizard does.
Unfortunately I don't know what the problem with the wizard itself is, but hopefully this will provide a work around.
This seems to be fixed in RedHawk v1.10. So I do not need any additional help.

MvvmCross: PictureChooser Plugin - Preview screen Button Text

Is there a way to change the text in iOS and Android for the two buttons which showing up inside the Picture Preview screen after you take a photo using MvvmCross PictureChooser plugin?
I have searched on it but I can't seam to find anything.
Thank you!
There's no way provided by MvvmCross to do this.
The source code to the picture chooser is in https://github.com/MvvmCross/MvvmCross/tree/v3.1/Plugins/Cirrious/PictureChooser
On Droid, this uses the standard ActionGetContent intent - https://github.com/MvvmCross/MvvmCross/blob/v3.1/Plugins/Cirrious/PictureChooser/Cirrious.MvvmCross.Plugins.PictureChooser.Droid/MvxPictureChooserTask.cs#L37
On iOS, this uses the standard UIImagePickerController - https://github.com/MvvmCross/MvvmCross/blob/v3.1/Plugins/Cirrious/PictureChooser/Cirrious.MvvmCross.Plugins.PictureChooser.Touch/MvxImagePickerTask.cs
So to customise these, you'll need to replace this code or to look to see if there are any "standard" ways on each platform.

Android - Set Default Spinner Themes

I'm new to Android development.
I'm using drag and drop to pull down a default spinner onto my layout.
However, the default is not the one I see everyone using with the triangle on the bottom right.
An example of what I see is:
http://www.mkyong.com/wp-content/uploads/2011/11/android-spinner-demo1.png
Whereas what I'm looking to achieve is this:
http://i.stack.imgur.com/X82Ld.png
Is it a styling issue?
Apologies for ripping off other people's images, I don't have enough rep for uploading my own images.
Thanks so much!
I've Solved my issue by setting the Theme of the application/activity to Holo.Light. Hope this helps other people in the process.

WPF - Flahing button with a icon on it

How do I place two icons on a WPF button, one in the middle (static icon) and one on the top left (based on a condition)? Also need to Flash the same WPF Button based on a condition?
(While flasing it switches between two background colors, the icons remains same).
Not sure if anyone will want to help you develop super annoying flashing advertising ad style buttons :)
But to point you in the right direction the answer is in learning how to override default control template for the button then for flashing - work on Animation. Once you try that and encounter problems, then post your code and someone will help.
P.S. 'Adam Nathan's WPF Unleashed' is a good start. Good luck!

Resources