ProgressBar.AllowDrop 屬性

定義

取得或設定值,指出控制項是否能接受使用者拖放上來的資料。Gets or sets a value indicating whether the control can accept data that the user drags onto it.

public:
 virtual property bool AllowDrop { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool AllowDrop { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.AllowDrop : bool with get, set
Public Overrides Property AllowDrop As Boolean

屬性值

Boolean

如果控制項內允許拖放作業,則為 true,否則為 falsetrue if drag-and-drop operations are allowed in the control; otherwise, false. 預設為 falseThe default is false.

屬性

適用於

另請參閱