共用方式為


DragGestureData.AllowedEffects 屬性

取得一組允許的拖放效果。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public ReadOnly Property AllowedEffects As DragDropEffects
    Get
public DragDropEffects AllowedEffects { get; }
public:
property DragDropEffects AllowedEffects {
    DragDropEffects get ();
}
member AllowedEffects : DragDropEffects
function get AllowedEffects () : DragDropEffects

屬性值

型別:System.Windows.DragDropEffects
DragDropEffects 物件,表示一組允許的拖放效果。

.NET Framework 安全性

請參閱

參考

DragGestureData 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

了解 WPF 設計工具擴充性