O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Designing a User Interface

In this chapter, we will cover the following recipes:

  • Adding a button
  • Adding a text block
  • Adding a textbox
  • Adding a password box
  • Adding a checkbox
  • Adding a combobox
  • Adding a listbox
  • Adding an image
  • Adding controls programmatically
  • Arranging controls vertically
  • Arranging controls horizontally
  • Arranging controls in a scrollable view
  • Defining a page-limited style
  • Defining a global style
  • Applying styles programmatically
  • Arranging controls in a grid
  • Arranging controls in absolute positions
  • Choosing date and time
  • Adding icons to app bars
  • Creating and using a user control
  • Presenting a message dialog
  • Adjusting design based on the device type
  • Localizing content in XAML
  • Localizing content programmatically
  • Forcing the current language

Introduction ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required