You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dc6a126
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -12,11 +12,43 @@ When a control is selected, it has a shaded border around it with solid (active)
12
12
13
13
When you are sizing or aligning multiple controls, the **Dialog** editor uses the "dominant control" to determine how the other controls are sized or aligned. By default, the dominant control is the first control selected.
For information on adding resources to managed projects, see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
16
16
17
-
-[Specifying the Dominant Control](../windows/specifying-the-dominant-control.md)
17
+
## To select multiple controls
18
18
19
-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
19
+
1. In the [Toolbox Window](/visualstudio/ide/reference/toolbox), select the **Pointer** tool.
20
+
21
+
1. Drag the pointer to draw a selection box around the controls you want to select in your dialog box.
22
+
23
+
When you release the mouse button, all controls inside and intersecting the selection box are selected.
24
+
25
+
\- or -
26
+
27
+
- Hold down the **Shift** key and select the controls you'd like to include in the selection.
28
+
29
+
\- or -
30
+
31
+
- Hold down the **Ctrl** key and select the controls you'd like to include in the selection.
32
+
33
+
## To remove a control from a group of selected controls or to add a control to a group of selected controls
34
+
35
+
1. With a group of controls selected, hold down the **Shift** key and select the control you want to remove from or add to the existing selection.
36
+
37
+
> [!NOTE]
38
+
> Holding down the **Ctrl** key and selecting a control within a selection will make that control the dominant control in that selection.
39
+
40
+
## To specify the dominant control
41
+
42
+
1. Hold down the **Ctrl** key and click the control you want to use to influence the size or location of other controls *first*.
43
+
44
+
> [!NOTE]
45
+
> The sizing handles of the dominant control are solid while the handles of subordinate controls are hollow. All further resizing or alignment is based on the dominant control.
46
+
47
+
## To change the dominant control
48
+
49
+
1. Clear the current selection by clicking outside all the currently selected controls.
50
+
51
+
1. Repeat the previous procedure, selecting a different control first.
0 commit comments