ProgressBar.AllowDrop ProgressBar.AllowDrop ProgressBar.AllowDrop ProgressBar.AllowDrop Property

定义

获取或设置一个值,该值指示控件是否可以接受用户拖放到它上面的数据。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; }
member this.AllowDrop : bool with get, set
Public Overrides Property AllowDrop As Boolean

属性值

如果控件允许拖放操作,则为true ;否则为 falsetrue if drag-and-drop operations are allowed in the control; otherwise, false. 默认值为 falseThe default is false.

适用于

另请参阅