This documentation is archived and is not being maintained.
SelectionRules Enumeration
.NET Framework 1.1
Defines identifiers that are used to indicate selection rules for a component.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] <Flags> <Serializable> Public Enum SelectionRules [C#] [Flags] [Serializable] public enum SelectionRules [C++] [Flags] [Serializable] __value public enum SelectionRules [JScript] public Flags Serializable enum SelectionRules
Remarks
These identifiers indicate whether a component has some form of visible user interface and whether the user can take actions to move or alter the size of the component.
Members
| Member name | Description | Value |
|---|---|---|
| AllSizeable | Indicates the component supports sizing in all directions. | 15 |
| BottomSizeable | Indicates the component supports resize from the bottom. | 2 |
| LeftSizeable | Indicates the component supports resize from the left. | 4 |
| Locked | Indicates the component is locked to its container. Overrides the Moveable, AllSizeable, BottomSizeable, LeftSizeable, RightSizeable, and TopSizeable bit flags of this enumeration. | -2147483648 |
| Moveable | Indicates the component supports a location property that allows it to be moved on the screen. | 268435456 |
| None | Indicates no special selection attributes. | 0 |
| RightSizeable | Indicates the component supports resize from the right. | 8 |
| TopSizeable | Indicates the component supports resize from the top. | 1 |
| Visible | Indicates the component has some form of visible user interface and the selection service is drawing a selection border around this user interface. If a selected component has this rule set, you can assume that the component implements IComponent and that it is associated with a corresponding designer instance. | 1073741824 |
Requirements
Namespace: System.Windows.Forms.Design
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Design (in System.Design.dll)
See Also
Show: