tags:

views:

97

answers:

1

I want to make standard database-table editing form in XAML:

  • field labels on left
  • input boxes on right (or dropdowns, radiobuttons, etc.)
  • should be flexible for dynamic data so if the labels are long it either expands or wraps the text nicely

My experience with XAML when I want to build something structured like this is I have to spend an hour fiddling around with stackpanel, dockpanel, grid, wrappanel, border, width, stretch, verticalalign, horizontalalign, horizontalcontentalign, etc. before I get it anywhere near what I could do easily in HTML/CSS.

Does anyone know of any best-practice XAML code for data-entry forms?

A: 

Check out Karl Shifflet's article.

HTH, Kent

Kent Boogaart