User control with on/off behavior in Windows Phone 8 - c#

I'm developing a simple Windows Phone 8 application and I need a user control to activate/deactivate a generic option. In other words, I'm looking for something link the Proxy field in this image.
I tried using System.Windows.Controls.Slider, but it allows only double value and I can't find a way to configure it to a on/off mode.
Which user control i should use?

I believe you are wanting the ToggleSwitch control http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.toggleswitch
The toggle switch can be found as part of the later versions of the Phone SDK http://phone.codeplex.com/

Related

Windows Mobile 6.5 Icons Menu

Is there an appropriate control to create an Icons Menu in Windows Mobile 6 or 6.5?
I am creating my own user control, but its hard to belive that such an important feature is missing.
This is the user control that I am developing:
Thanks in advance.
The native menu does not support icons or graphics, it always was text only.
You may have to mimic the native menu behavior and show your app in full screen to disable the standard menu bar.

How to catch touch keyboard loading event on windows 8?

I need to replace standard virtual touch keyboard on windows 8, 8.1. I suppose that I need to catch keyboard loading event (create a hook or something like that) and replace this standard keyboard with my own (my own application).
Any suggestions how can I do that? Should I write a windows store application or anything else? The application should be written in C# or in C++.
If you want to use your own custom keyboard instead of windows 8/8.1 default keyboard please prefer the following components for WPF
No need to create any application for this purpose. The component will do all things for you.
https://wpfkb.codeplex.com/
http://www.codeproject.com/Articles/32568/A-Touch-Screen-Keyboard-Control-in-WPF
It works fine with WPF applications (I didn't try this with windows store application). I think it may work with store application also, because it using the same XAML language as WPF to create control

resize the application to snap view programatically

I am developing a win store application, user can launch other file/application from my application. At that point, I want to keep my application in front of user in the "snap view"
For Windows 8.0, there wasn't a way to control this. In Windows 8.1, the Windows.System.Launcher API--namely the LaunchFileAsync and LaunchUriAsync methods that take a LauncherOptions argument--added support for the LauncherOptions.DesiredRemainingView property. This gives you the kind of control you're looking for here--in your scenario you'd want to use the value ViewSizePreference.UseMinimum in the DesiredRemainingView property.

How to add normal buttons to Appbar in Windows Phone 8?

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.

Modify Windows Login screen

Is it possble to Modify the Window's Login screen and add our own buttons/links? For example is it possible to do something like this?
alt text http://www.allaboutmoss.com/wp-content/uploads/2010/04/windowsxp_login.jpg
The above screen has a link and when clicked it should start a win forms application?
For Windows XP, you can build a GINA DLL, and for Vista+ you need to use the new credential providers system. In both cases, you basically have to build the UI from scratch and so it's not really possible to just take the existing UI and add a few controls here and there.
Of course, you could build your own GINA DLL that displays UI that's the same as the standard Windows XP one, with your own additions, but it's not exactly a simple task.

Categories

Resources