I am pretty new to Windows Phone, XAML and such and I am trying to solve this. I have custom colored button, but while this button is pressed it changes its color. How to customize this "pressed" color/properties? Is there any simple way that I missed? I was searching over the internet but nothing helped.
You need to know about styles, states and many other stuff, it's simple but you need to learn, you can go through this sample code from MSDN to create a Windows Phone Custom Style Button
Related
i use materialDesign Mahapps at c# wpf.
and i want make some floating button that open and spread other button when i click it.
i saw CircularFloatingActionMenu animation in android.
i already saw it
https://github.com/MaterialDesignInXAML
but i couldn't get something.
please see this(CircularFloatingActionMenu animation) and this(https://github.com/wasabeef/awesome-android-ui/blob/master/art/CircularFloatingActionMenu.gif) and know me how do i make it...
What you'll need is to use a StoryBoard Microsoft Documentation in WPF to animate several properties of the animated buttons such as Width/Height/Rotation/Opacity and X/Y to appropriate final location. You'll probably need another one to do the reverse.
I'm Building a very basic game for windows phone based on one I created for iOS. In iOS there is a event for when the screen is pressed. I have looked and cannot find a equivalent in windows phone so have decided to use a large button placed over the entire of the view however i have the issue that when i press the button it fills out in the accent colour. i have tried changing the clickmode .ect to solve this as suggested in some older posts for windows phone 7 however none of these seem to be working. Any help is appreciated
Thanks
Found a better solution for my requirements.
Realised that if on the root of the application page i can set a Tap event to fire code so his works like touchesBegan on iOS
I am aware of app bar icons and menu items in Windows phone. What I want it is an app bar similar to phone's default windows phone store where it shows up "try", "buy" and share in menu item... How can I achieve this? I looked into documentation of ApplicationBar, but it didn't help.
I want normal buttons to be inside application bar.. If that is not possible in appbar how can I mock something similar to the one which shows up in windows phone store..
Not sure that it is possible
Though, you may try to take a look at some custom appbars. For example, Cimbalino appbar is made as behavior (so it supports binding) - probably, you'd be able to set button's style either.
I would like to create a message box in my Windows Phone 7 application, but I want to add the "never show again" button or checkbox inside of it. How can I do that? I searched about it and I found examples in XNA and found a code using Notificationbox, but it doesn't seem to work with C# or something.
My project is coded with C#, is there a way to implement a customizable message box?
Tomer Shamam has an example of how to do this at: http://blogs.microsoft.co.il/blogs/tomershamam/archive/2010/10/19/windows-phone-7-custom-message-box.aspx
He's put the code on http://wpassets.codeplex.com/
I've got a question but not sure if its possible. Is it possible to change the Windows 7 Window colour from .Net.
So this isn't the content of the window as that is easy i'm talking about the header title itself and allow the .Net app make the header transaperant like you can have in Window 7 and change the colour too etc.. Is there some sort of Window api that i can hook into to do this that anyone knows of.
The reason i want to do this is in Window you can obviously set your theme and window colours but i want my app to have all dialogs with the same sort of styling so i can change the window content but the window header i can't and if the user has set their window colour to a strange colour then it looks strange against my themed app.
Thanks for any help in advance.
Iffy.
i can't and if the user has set their window colour to a strange colour then it looks strange against my themed app.
That should be left up to the user, and you should not change settings that are explicitly set by the user for their operating system installation. This will drive more users away. If this is for your own personal use then it would be okay, but don't change a users Windows settings (of any kind).
If it really looks that bad, you should consider a custom skinned Window for your application only.
Yes, it's possible. This is a MSDN article describing it:
http://msdn.microsoft.com/en-us/library/bb688195%28VS.85%29.aspx
The code is in C++ but it should be easy to get it working in C#