ParameterEditorUserControl.SetAllowCollectionChanges(Boolean) 方法
定义
控制是否可对编辑器中的值执行添加和删除操作。Controls whether additions and deletions can be made to the values in the editor.
public:
void SetAllowCollectionChanges(bool allowChanges);
public void SetAllowCollectionChanges (bool allowChanges);
member this.SetAllowCollectionChanges : bool -> unit
Public Sub SetAllowCollectionChanges (allowChanges As Boolean)
参数
- allowChanges
- Boolean
一个 Boolean,它指示是否可对正在编辑的 ParameterCollection 执行添加和删除操作。A Boolean that indicates whether additions and deletions can be made to the ParameterCollection being edited.
注解
SetAllowCollectionChanges方法控制是否可以对对象中的元素进行添加和删除 ParameterCollection ParameterEditorUserControl 。The SetAllowCollectionChanges method controls whether additions and deletions can be made to the ParameterCollection element in the ParameterEditorUserControl object. SetAllowCollectionChanges启用或禁用 "上移"、"下移"、"添加" 和 "删除" 按钮,但不影响单个元素的编辑 Parameter 。The SetAllowCollectionChanges enables or disables the Up, Down, Add, and Delete buttons but it does not affect the editing of individual Parameter elements.