Windows 8 Metro app, how to create this selected box style - c#

How is this style created or where can i find it?. (so that i only have to change the colors)
I mean the style in this picture of how the maps app is selected with the check mark in the corner.
I would really like to use this in an app, and I've seen it done in a few others too, but after hours of searching i havent fount anyway to do it. i cant seem to find how to create it.
If anyone can help me with this i would be very thankfull :)

Related

How do I create a user-customizable DockPanels in WPF C#

so I'm trying to create a Panel-System, where the user can "Design" his own layout. The user should be able to grab the Panel and dock it wherever he likes, or even leave it floating as a separate window.
I really love how Adobe solved this in Photoshop, InDesign, or Illustrator.
But I also can accept similar solutions.
I made some Screenshots to show you what I mean.
I can't even figure out how to start. And I couldn't find some instructions or tutorials online because I have no Idea how this system is called. Therefore, I have no code to demonstrate.
I honestly would be already happy, if someone just leaves the name of such system. Or a link to a tutorial.
Thank you :)
Screenshots:
Google Drive

C# UWP MedieElement MediaTransportControlsHelper.DropoutOrder

Trying to figure out how MediaTransportControlsHelper.DropoutOrder works when attaching a custom MediaTransportControl to a MediaElement in C# UWP and having a little trouble.
I assumed that if say, I had 4 buttons in my custom MediaTransportControl and I resized the app so that only 3 fit, the last (MediaTransportControlsHelper.DropoutOrder="4") button would 'drop out' to some overflow menu (CommandBar.SecondaryCommands?) - but I'm not seeing this is the case.
Anyone have any idea how to achieve this? Or any samples on hand to guide me?
Thanks.

How to create one page app on Windows Phone

I am doing app for Windows Phone 8.1 and I am want to know your opinion about how to solve followed problem. The app is designed to be one-page, but I dont know how to solve it, because no of default windows controls fit to my requirements. Design is here:
So, it is somethink like double pivot. In second menu will be pictures or text or somethink, which will navigate between content by topic. Each Content could be splited into separate views, which will be changing by touch movement. Points color (or design or whatever) will be changing (somethink like this slider.
So, what do you think about it, it is possible? And if yes, so how? I will probably need create custrom controls and panel. Do you have any tips, which will push me the right way? How would you solve this?
Thank you

Create an editable table using WPF controls

Maybe this is not the right forum for my question, but I'll try anyway.
I am creating an application where I want the user to be able to fill in values in a table/matrix. The values are then going to be saved to a database I have set up. I want to build this application using Windows Presentation Foundation (WPF). I watched the following video on youtube:
https://www.youtube.com/watch?v=_i4mYXSaD4w and it shows very well what features I want my own application to have. The problem is, the example in the video is made in Winforms...
So, my question, which can be split into three parts, is:
Is there a way to build something equal, similar or better, in WPF?
What/which control(s) should I use? Grid? DataGrid?
How do I use this control?
I am new to WPF, and do not have a good picture of what controls to use. I have read many questions about WPF's DataGrid on StackOverflow as well as other QnA's, but I couldn't understand how to do what I wanted, or even if it was possible. Therefore, I'm very thankful to anyone who can explain and lead me onto the right track.
I suggest you to read this article: http://www.codeproject.com/Articles/30905/WPF-DataGrid-Practical-Examples

How do I mimic the windows 7 UI?

I want to try and get the same look as Windows 7, with the aero glass dropping down just a little bit so that there can be a back button/address bar/ search box. Are there any tutorials on how to do this? I really need something simple, as I tried looking at a few other tutorials that try to explain how to use DWM with c# and I get totally lost.
Done as an answer :)
Absolutely use WPF, WinForms is a nightmare for this sort of thing. Combine it with http://code.msdn.microsoft.com/WindowsAPICodePack and you're on to a winner.
Ive been using the glass_full class from the site below on WinForms and and it works great.
http://www.dreamincode.net/forums/topic/146813-glass-form-dwmapidll-api/
I found a workaround for the black text issue with WinForms is to simply set backcolor and transparencyKey to a unused color.
(To prevent clickthrough, make sure the red and blue values are different, I use 221,222,223 as my color values so it gracefully fallsback to grey without Aero)

Categories