This documentation is archived and is not being maintained.

How To: Add Controls to a WPF Window

The Windows Presentation Foundation (WPF) Designer for Visual Studio provides a design surface that supports the familiar drag-and-drop functionality by way of the Toolbox. This topic describes how to add controls to an existing WPF window in the WPF Designer.

To add controls to a WPF window

  • In the WPF Designer, drag a control from the Toolbox to the design surface.

    - or -

  • In the Toolbox, double-click the desired control.

Show: