Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 96029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:45:02+00:00 2026-05-10T23:45:02+00:00

i`m currently playing around with WPF and now i wonder what would be the

  • 0

i`m currently playing around with WPF and now i wonder what would be the layout for a typical dataentry window (20+ textboxes and stuff).

atm i`m using a grid object like this (basic sample)

    <Grid Margin='2,2,2,2'>         <Grid.ColumnDefinitions>             <ColumnDefinition Width='Auto'></ColumnDefinition>             <ColumnDefinition Width='*'></ColumnDefinition>         </Grid.ColumnDefinitions>          <Grid.RowDefinitions >             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>             <RowDefinition Height='Auto'></RowDefinition>         </Grid.RowDefinitions>              <Label Grid.Row='0' Grid.Column='0'>Vorname:</Label>             <TextBox Grid.Row='0' Grid.Column='1' Text='{Binding Path=Surname, UpdateSourceTrigger=PropertyChanged}' ></TextBox>              <Label Grid.Row='1' Grid.Column='0'>Nachname:</Label>             <TextBox Grid.Row='1' Grid.Column='1' Text='{Binding Path=ChristianName, UpdateSourceTrigger=PropertyChanged}'></TextBox>              <Label Grid.Row='2' Grid.Column='0'>Strasse (Wohnsitz):</Label>             <TextBox Grid.Row='2' Grid.Column='1' Text='{Binding Path=Street1, UpdateSourceTrigger=PropertyChanged}'></TextBox>              <Label Grid.Row='3' Grid.Column='0'>Ort (Wohnsitz):</Label>             <TextBox Grid.Row='3' Grid.Column='1' Text='{Binding Path=Town1, UpdateSourceTrigger=PropertyChanged}'></TextBox>              <Label Grid.Row='4' Grid.Column='0'>Postleitzahl (Wohnsitz):</Label>             <TextBox Grid.Row='4' Grid.Column='1' Text='{Binding Path=PostalCode1, UpdateSourceTrigger=PropertyChanged}'></TextBox>              <Label Grid.Row='5' Grid.Column='0'>Bundesland (Wohnsitz):</Label>             <TextBox Grid.Row='5' Grid.Column='1' Text='{Binding Path=State1, UpdateSourceTrigger=PropertyChanged}'></TextBox>              <Label Grid.Row='6' Grid.Column='0'>Land (Wohnsitz):</Label>             <TextBox Grid.Row='6' Grid.Column='1' Text='{Binding Path=Country1, UpdateSourceTrigger=PropertyChanged}'></TextBox>              <Label Grid.Row='7' Grid.Column='0'>Zusatz (Wohnsitz):</Label>             <TextBox Grid.Row='7' Grid.Column='1' Text='{Binding Path=AdditionalAdrInfo1, UpdateSourceTrigger=PropertyChanged}'></TextBox>      </Grid> 

basically this satisfies all my layout needs, but what if i wish to change something, like adding a new textbox in row 3?

currently i have to change every single Grid.Row property greater then 3, but that cant be the intended WPF way!?

how do others layout complex dataentry windows?

tia

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:45:03+00:00Added an answer on May 10, 2026 at 11:45 pm

    Karl Shifflett also has a nice approach to LOB forms in WPF: http://karlshifflett.wordpress.com/2008/10/23/wpf-silverlight-lob-form-layout-searching-for-a-better-solution/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 78k
  • Answers 78k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Can someone explain the following javascript code? //Shorthand for document.getElementById… May 11, 2026 at 3:38 pm
  • added an answer if you use setTimeout() and clearTimeout() you can use the… May 11, 2026 at 3:38 pm
  • added an answer You're running into an strange android signature bug. If you… May 11, 2026 at 3:38 pm

Related Questions

I`m currently studying C++ and want to learn another language. For work I use
Currently I`m using Visual Studio for writing code in C++. But it seems so
Is there any way to improve code completion in notepad++? Currently it supports some
I`m parsing SQL query with C# Regex. I need also to make my pattern

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.