PrintPreviewDialog.AllowDrop PrintPreviewDialog.AllowDrop PrintPreviewDialog.AllowDrop PrintPreviewDialog.AllowDrop Property

定义

获取或设置一个值,该值指示控件是否可以接受用户拖放到它上面的数据。Gets or sets 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.

注解

此属性与此类无关。This property is not relevant for this class.

适用于