I have to do a Windows Store application in XAML and C#, and the "Grid app" template is almost exactly what I need...
The problem is that this template displays same items, divided in groups.
For my app, I would like to do exactly the same thing but for different type of items instead and have a different details page for each type of item...
This is my first app and I don't manage to do it... How can I do it easily ?
The new "Hub" control of Windows 8.1 would be really perfect, But I can't work with Visual studio 2013 and Windows 8.1... :
http://mikaelkoskinen.net/winrt-xaml-hub-control-getting-started-tutorial-semanticzoom/
Thanks
I finally found the solution.
I had to use a TemplateSelector :
http://channel9.msdn.com/Series/Migrating-apps-from-Windows-Phone-to-Windows-8/Custom-Styling-in-Windows-Store-Apps
Related
I am building my first "real" VB Window Forms Application (I'm a "traditional programmer") and my application has perhaps half a dozen forms.
On execution all of these forms have the Windows 10 visual style (eg: grey on white max/min/close buttons at top right)... except for 1 form, which seems to be rendering in Win XP style (eg: Blue and red button style).
I have checked that "Enable XP Visual Styles" is UNClicked in the Project Properties, but this one form stubbornly refused to change.
I have a number of my forms that also appear in "XP style" in the VS Designer, but execute fine.
I suspect I may have enabled/disabled the "XP Visual Styles" option a couple of times, and perhaps initially created some forms when this was in different states... although I have no idea if this would have been the cause.
I really want this one form to be like all the others...
any ideas please? I am using VB in VS2010 (a bit old, but what I have to hand)
As I am quite new to VB so tell me what I can provide to help..
Many thanks,
David's comment has solved my immediate issue:
The single form appearing differently is indeed using Show() whereas the others are all ShowDialog(). There is no reason for me doing this, so I have changed it.
In multiple Windows Store App tutorials i have come across, where Visual Studio 2012 is used, the user is told to delete MainPage.xaml and replace it with a new item called Basic Page.
Since Windows Store Apps is not available in the version I'm using (Visual Studio 2015 Ultimate), when creating a new project, I went with Windows Universal Blank App. The problem is I can't find the Basic Page item in the version I'm using.
Is there an equivalent item I can use instead?
Edit: YouTube tutorial link
I know absolutely nothing about Windows Store Apps and Universal Apps, but was told by my CS teacher that I should use Windows Universal App, when creating the project. The tutorial was his recommendation, and he expects that I finish it during the weekend, so I can't ask him about it. I'm guessing there must be some difference between WSA and WUA. I can't see any item that looks like Basic Page, and I don't really know why the guy is replacing the MainPage.xaml with a Basic Page, so i'm clueless about what to do now.
You should use Blank Page option instead.
Difference between Basic Page and Blank Page
Basic Page- This on addition also adds some boilerplate code related to navigation inside your app along with back button and Appname header in XAML code.
Blank Page- Only adds a default page with basic navigation.
Make sure you have installed app development SDK's, since under C# you are supposed to get Universal option which I am not seeing in your current screenshot.
If you install Windows 8.1 SDK then you might get Basic Page template option. But for windows 10 SDK you can use Template10 add it as nuget package which already contains these navigation related boilerplate codes.
We'd like to create many MonoGames inside one Visual Studio 2012 Solution. The main screen has to be a Windows Store Application. From the main menu, we'd be able to navigate to specified minigame and when it finishes, navigate back to main menu. Is it possible to create that? Is this project correct in Microsoft Windows Store?
You can create multiple Windows Store apps (or projects) from one Visual Studio solution. Each project will have its own package file. However, they are separate apps and not related to each other. One alternative is to create one solution (or one Windows Store app) with multiple games. For example, you create one or a set of xaml pages for each game, and then navigate between these xaml pages. I know this approach works but just haven't tested it with MonoGame. For more info on packaging, check out Packaging your Windows Store app using Visual Studio 2012.
I have an application (chat) that I am developing for our company (special requirements). We are mostly using WinXP computers. I want it to be topmost and docked to the right, the problem is, I don't want it to overlap other windows that people are working on.
Is there a way to change the default area that other programs can maximize to? Basically, I want it to look something like this:
Is something like this possible? I'm using VB.net so all .net answers are accepted.
Thanks!
Take a look at the following codeproject article:
Application Desktop Toolbars
It seems to do what you require.
This article is about Application Desktop Toolbars, which are
applications that can align to the screen much like the taskbar. The
article will develop a base class for developing such apps.
I'm very new in Silverlight and the Lync-SDK. So sorry for the question from a beginner.
Long time ago, i wrote al little web application, based on php for reading out contacts from a sql database.
Now the customer expand his envoirement and place Lync. Now he want the little Lync-Status-Square in the webapplication for click to call features.
I playing a little bit with the SDK of lync.
The following problem comes up. The square of Lync is nested in a td of my table. But the Lync-Silverlight-Applet need dynamical space for hover effects or single clicks. But in my table, i have no space, specially dynamic space.
So i switch off all hover and click functionality and place the follwing buttons in the StackPanel separate.
PresenceIndicator
StartInstanceMessagingButton
StartAudiCallButton
SendEmailButton
Two of them are fine.
Clicking on the IM-Button, The Lync Client opens the right Contact in IM-Mode and i can directly type a message. Perfect!
Clicking on the Mail-Icon, an Mail-Client will open, perfect.
The PresenceIndicator just display the color, not the exactly state, thats a problem, when the color is yellow. I can display the state in a TextBlock, but i prefer a label appears while hovering over the icon.
But my mainproblem is the StartAudioCallButton. This Icon is an dropDown-Icon. And i have no space for dropdowns. I would be so nice if this icon has the same behavoior like the IM-Button. The Lync Client will open in Call Modus and i can select, which callernumber i will use. Is that possible?
Thank you for Your time!
Frank
If you're having trouble with the layout of the standard Lync SilverLight controls, then the best thing to do is implement your own SilverLight controls for the function you're having difficulty with.
User Controls are really simple to create, there are plenty of tutorials on how to get started if you're not familiar with the process.
The Lync SDK has some great walkthroughs to get you up and running with signing in to Lync and placing an audio call
I don't know of any way to get Lync to open in a Call Mode as you suggested, but if you're limited with screen space, maybe you could have your custom StartAudioCallButton open a popup with the phone numbers in?