logo search
Учебник_ПОА

Adding Controls to the wpf Window You can add controls to the wpf window by dragging them from the Toolbox. To add a control to the wpf window

  1. From the Toolbox, drag a TextBox control to the upper-right side of the WPF window.

  2. Click the TextBox control to select it.

  3. In the Properties window, click the first arrow (Left) for the HorizontalAlignment property, as shown in the following illustration.

HorizontalAlignment property

This moves the TextBox from the right side of the WPF window to the left side.

  1. Set the following properties for the TextBox.

Property

Value

VerticalAlignment

Top

Width

75

Height

26