What is the best way to make a menu of options in wp7? (Not a context menu or app bar.) Currently I'm using a ListBox of strings, but I'm not sure if that's the way to go.
I'm also not entirely sure how to make make the ListBox entries respond to tapping such that they navigate to another page.
...
I have a pivot control:
PivotItem sectionPivot = new PivotItem()
{
Header = sect.Name,
Content = new StackPanel()
};
How can I add content to it?
Edit: The reason I'm doing it programmatically is because I don't know how many pivots there will be or what they will co...
Is it possible to get the SignedInGamers name on WP7 like you do with the XBOX? I've tried testing it with:
SignedInGamer gamer = Gamer.SignedInGamers[0];
gamer.DisplayName;
But have only received a null value for the gamer object on the phone.
Thanks
Sebastian
...
I'm making a Windows Phone 7 app that has login/logout semantics (authenticating to a web app). When the user logs out I navigate back to the login screen and forget the session authentication.
When doing so I'd also like to clear the navigation history so that can't go back to a page that expects them to be already authenticated.
Can'...
Does Windows phone 7 have an OCR API?
...
I am trying to use Linq to Xml and Xaml data binding in a Windows Phone app with no luck, following this example.
I've got some Xaml that looks like this:
<Image
Source="{Binding Path=Element[image].Value, Converter={StaticResource UriBitmapConverter}}"
Grid.Column="2" MaxWidth="75" HorizontalAlignment="Righ...
I'm working on a Windows Phone 7 app using WCF for communications with my server.
I've created a service and am able to communicate well, but I'm having trouble accessing an interface in the client code.
For instance, in my server code I have something like this:
[OperationContract]
[ServiceKnownType(typeof(IField))]
[ServiceKnownType...
Hi,
I have an xml file that I want to access in an WP7 and Silverlight app.
Th exml file is on a webserver and I want to access is through http://www.mydomain.com/data/this_is_my_file.xml.
So I want to use this url to load the xml file into an XDocument;
Any ideas,
thanks,
Filip
...
I am trying to make a control that displays a news item. There is an image that will be given in any size, but the control can crop to a square. There is also a headline and teaser.
The headline and image will be on the same vertical level. The teaser will be beneath them:
I want the control to stretch vertically to accommodate any ...
I'm making a wp7 Silverlight app. I have a ScrollViewer that contains a ListBox of ten elements. However, it only lets me scroll down a tiny bit. What could I be doing wrong?
<ScrollViewer>
<ListBox x:Name="StoryListBox"/>
</ScrollViewer>
The ListBox is filled with items of the following type:
<Grid x:Name="LayoutRoot" ...
In a Windows Phone 7 Silverlight application, I have this ListBox:
<ListBox ItemsSource="{Binding Path=Programs}" >
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Begin, Converter={Stati...
Has anyone tried using Eloquera DB on WP7? Besides the question of whether it actually works under WP7, how is the performance (if it actually works)? Are there alrernative object-based DBs that anyone can recommend for use with WP7 applications?
...
Hello, in Silverlight 3 for Mobile, how do I get at a Path's figure points, so I can ultimately get at it's Points (X, Y coordinates)? From what I've been reading, it sounds like the tree structures of the PathGeometry isn't stored in Silverlight 3 for Mobile (I'm doing this for WP7)... Is there another way around this? All I want is th...
Hi There,
Im downloading zip files and placing them in isoilated storage on windows phone 7. Is there an API or library that allows me to un zip the files?
Really appreciate advice on this.
Tony
...
Hi, I have a slider in my WP7 app that I would like to restyle. Im having a problem with default template
I made something like this but I cannot "bind" the thumb to the value.
<Style x:Key="ThumbStyle1" TargetType="Thumb">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType...
Can I use a retail phone to test apps I'm developing for wp7?
...
I am planning on purchasing the new HTC phone running Windows Phone 7, and am planning on using it for development purposes only; however, I can't afford the expensive subscription to T-mobile's data network at the moment. Is a cellular subscription necessary to use the phone for application testing purposes; or can I just use my WiFi ne...
Hi everyone! I was messing around with this windows phone 7 application bar when I noticed that even setting a different application bar in XAML wouldn't make it change through different application pages (which is quite annoying I have to say). My intention is to use this bar with some buttons that change according to the page being dis...
My WP7 application requirement is to send the email with an attachment and use device default SMTP settings.
I have tried EmailComposeTask class but it doesn't have any member for attachment.
The other idea, i am thinking is to upload the file on server and then send the email from that server.
What you think if there is no way to sen...
Hi all,
I'm using the mvvm-light toolkit in my windows phone 7 application.
I have in my view :
<TextBox Height="78" HorizontalAlignment="Left" Margin="108,33,0,0" VerticalAlignment="Top" Width="313" Text="{Binding MyValue, Mode=TwoWay}" />
<Button Content="Go" Height="78" HorizontalAlignment="Left" Margin="127,252,0,0" Name="button1...