Поделиться через


How to: Add Controls to a WPF Window

The 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.

See Also

Other Resources

Getting Started with the WPF Designer