ParentControlDesigner.AllowSetChildIndexOnDrop 属性

定义

获取一个值,指示控件拖放到 ParentControlDesigner 上时是否应保持其 z-顺序。

protected public:
 virtual property bool AllowSetChildIndexOnDrop { bool get(); };
protected internal virtual bool AllowSetChildIndexOnDrop { get; }
member this.AllowSetChildIndexOnDrop : bool
Protected Friend Overridable ReadOnly Property AllowSetChildIndexOnDrop As Boolean

属性值

Boolean

如果控件放到 ParentControlDesigner 上时应保持其 z-顺序,则为 true;否则为 false

注解

默认情况下,拖动控件的 z 顺序在删除时 ParentControlDesigner保持。

适用于

另请参阅