Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows Mobile 7 - Best way to display 'Properties'

Posted on 2011-09-27
1
Medium Priority
?
222 Views
Last Modified: 2013-12-27
Hi - just wanting some advice as to how best to display a simple 'Properties' style page.  I thought that a Grid would be the best way to display this but opinions please.  Coming from a Windows Forms background I did try :-

 
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  <Grid.ColumnDefinitions>
	<ColumnDefinition Width="150" />
	<ColumnDefinition Width="300" />
</Grid.ColumnDefinitions>
			
<Grid HorizontalAlignment="Left" Margin="7,13,0,0" Name="gridJobDetails" VerticalAlignment="Top" Width="450" />
<TextBlock Grid.Row="0" Grid.Column="0" Text="Job ID:"></TextBlock>
<TextBox Grid.Row="0" Grid.Column="1" Name="tbJobID"></TextBox>
		
<TextBlock Grid.Row="1" Grid.Column="0" Text="Address:"></TextBlock>
<TextBox Grid.Row="1" Grid.Column="1" Name="tbAddress"></TextBox>

Open in new window


But this doesn't give the effect I am after of a 2 column grid with 2 rows.
0
Comment
Question by:ChrisMDrew
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
Mikal613 earned 2000 total points
ID: 36911042
Why create grids??  Just create a StackPanel with labels
<StackPanel>
   <TextBlock Text="Job ID:"></TextBlock>
    <TextBox Name="tbJobID"></TextBox>
</StackPanel>

Although one advantage of the grid is when the devices orientation changes the grid should handle that.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to setup the internet connectivity on Windows Mobile Emulator.   I assume that you already have Microsoft Visual Studio, Microsoft Windows Mobile SDK's and the emulator installed. The emulator is available with Visual Studi…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question