Udostępnij za pośrednictwem


Specifying the Dominant Control

The control selected first is the dominant control.

To specify the dominant control

  • Hold down the CTRL key and click the control you want to use to influence the size or location of other controls first.

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

To change the dominant control

  1. Clear the current selection by clicking outside all the currently selected controls.

  2. Repeat the previous procedure, selecting a different control first.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Tasks

Selecting Multiple Controls

Concepts

Selecting Controls

Reference

Controls in Dialog Boxes