Chapter 7. Using UI Controls

Now that you've seen how to create windows for your user interface, it's time to explore the controls you can use on them. Controls are the buttons, text boxes, lists, and images that we've all interacted with before and that make up any graphical UI. In this chapter, we'll discuss the following topics:

  • The Control element and its basic attributes
  • The various types of controls and their unique features

Controls

Placing a Control element inside a Dialog adds a new control to that window. You'll use its Type attribute to specify which kind of control it is: PushButton, Text, and so on. Beware that these names are case sensitive. "Pushbutton" isn't the same as "PushButton" and will give you an install time error.

Positioning ...

Get WiX: A Developer's Guide to Windows Installer XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.