ControlDesigner.SelectionRules 属性

定义

获取指示组件的移动功能的选择规则。Gets the selection rules that indicate the movement capabilities of a component.

public:
 virtual property System::Windows::Forms::Design::SelectionRules SelectionRules { System::Windows::Forms::Design::SelectionRules get(); };
public virtual System.Windows.Forms.Design.SelectionRules SelectionRules { get; }
member this.SelectionRules : System.Windows.Forms.Design.SelectionRules
Public Overridable ReadOnly Property SelectionRules As SelectionRules

属性值

SelectionRules 值的按位组合。A bitwise combination of SelectionRules values.

注解

如果没有设计器提供组件的规则,则组件将不会获取任何 UI 服务。If no designer provides rules for a component, the component will not get any UI services.

适用于

另请参阅