DragDropInfo.AllowedEffects 属性

定义

获取源允许的拖放效果。

public:
 property System::Windows::DragDropEffects AllowedEffects { System::Windows::DragDropEffects get(); };
public System.Windows.DragDropEffects AllowedEffects { get; }
member this.AllowedEffects : System.Windows.DragDropEffects
Public ReadOnly Property AllowedEffects As DragDropEffects

属性值

DragDropEffects

DragDropEffects源允许的。

注解

作为源和目标之间的协定的一部分,目标必须服从源允许的效果。 例如,如果源不允许 DragDropEffects,则目标不应执行移动。

适用于