Each time I create a new screen (by selecting "Create a connected screen") I get a xaml file which is of type UserControl rather than ChromePage. How can I add new Windows Phone pages? I dont want it to be a UserControl.
When you create a SketchFlow Windows Phone application you are actually working with the desktop version of Silverlight. This is for ease of sharing/review for reviewers of the project. You are not actually creating a Windows Phone application, so the types are for the Desktop Silverlight version.
Related
Hello everyone i am trying to build a horizontal slide menu for a windows mobile 7 app. Any idea how to do that?
That sliding menu is called Navigation Drawer and is a standard UI element for Android OS. It is not recommended on Windows Phone. However, you can mimic it using an offscreen UserControl or Panel.
Take a look at the following blog post: A behavior to implement a scroll-into-view panel (for a Facebook-like GUI) on Windows Phone.
I am completely novice in Windows phone app development. Till now I have been developing iPhone application. In iphone there is a concept of view and view controller. You can add multiple view on one screen and do hide/show to display multiple screens.
I am searching, How can I achieve same things in Windows phone app development.
For a similar pattern, see MVVM:
How Do I: Use MVVM in a Windows Phone 7 Application?
Windows Phone Mango: Getting Started with MVVM in 10 Minutes
MVVM in real life Windows Phone applications Part1
To hide/show different views/XAML objects/panels, use their name and visibility property, for example:
contentpanel.Visibility = Visibility.Visible;
Windows Phone applications in general follow the Page based Navigation. If you want to achieve a hide/show multiple views in a single page without Navigating to a new page, you can do that with the help of UserControls.
You can define as many UserControls (==views) as you want and then hide are show them based on your requirements in the YourPage.xaml
And additionally, you would better go with MVVM approach.
check this good example for any further details Implementing the Model-View-ViewModel Pattern in a Windows Phone Application
How to simulate scroll gesture on windows phone 7 device without any manual event?
I want to scroll a PDF document that has been opened in the Adobe PDF viewer automatically on WP7. How can it be done?
Any views or ideas are welcome.
The Adobe PDF viewer for WP7 is an application. The WP7 architecture does not permit you to control or communicate with any other running application from your own application. Therefore, no, you cannot programmatically scroll a PDF document that the user has opened.
You might want to look at finding a PDF viewer control that you can embed within your application. See this related question:
PDF-viewer for Silverlight for Windows Phone 7 (SilverDox?)
Is there any way to add in a custom control such as a textbox or button into a messagebox for windows phone 7?
The Windows Phone Assets project on Codeplex has a NotificationBox cutom control which is described as:
Notification Box is a replacement for the non-customizable Windows Phone MessageBox native control. The NotificationBox custom control has Control Template, and is fully customizable, providing freedom for picking different user actions.
The example code on there shows how to have your own buttons on the form, and I'm sure you could use it as a base for adding textboxes as required.
I'm creating my first Windows Phone 7 application, and I'm struggling to find an autocomplete textbox. Is there an easy way to add one to the toolbox? Or do I need to create my own control?
The one from Silverlight 3's SDK, the AutoCompleteBox, works relatively well on the phone. It requires minimal styling changes to work.
There is a known issue today where selecting an item that pops up requires two taps: one to select and another to "really" select. We should have that issue in the platform (the bug is not in AutoCompleteBox) fixed by the time the phone development experience is ready.
AutoCompleteBox is in the Silverlight Tookit so you have to add a reference to that in your project.
After investigating it appears that there's not an auto-complete textbox control for windows phone 7 applications, so I've had to create one myself...