SelectionRules SelectionRules SelectionRules SelectionRules Enum

Definition

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.

public enum class SelectionRules
[System.Flags]
public enum SelectionRules
type SelectionRules = 
Public Enum SelectionRules
Inheritance
SelectionRulesSelectionRulesSelectionRulesSelectionRules
Attributes

Fields

AllSizeable AllSizeable AllSizeable AllSizeable 15

Indicates the component supports sizing in all directions.

BottomSizeable BottomSizeable BottomSizeable BottomSizeable 2

Indicates the component supports resize from the bottom.

LeftSizeable LeftSizeable LeftSizeable LeftSizeable 4

Indicates the component supports resize from the left.

Locked Locked Locked Locked -2147483648

Indicates the component is locked to its container. Overrides the Moveable, AllSizeable, BottomSizeable, LeftSizeable, RightSizeable, and TopSizeable bit flags of this enumeration.

Moveable Moveable Moveable Moveable 268435456

Indicates the component supports a location property that allows it to be moved on the screen.

None None None None 0

Indicates no special selection attributes.

RightSizeable RightSizeable RightSizeable RightSizeable 8

Indicates the component supports resize from the right.

TopSizeable TopSizeable TopSizeable TopSizeable 1

Indicates the component supports resize from the top.

Visible Visible Visible Visible 1073741824

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.

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.

Applies to