Dela via


TabViewExternalTornOutTabsDroppingEventArgs.AllowDrop Property

Definition

Gets or sets a value that indicates whether or not to accept the tabs that are being dropped.

public:
 property bool AllowDrop { bool get(); void set(bool value); };
bool AllowDrop();

void AllowDrop(bool value);
public bool AllowDrop { get; set; }
var boolean = tabViewExternalTornOutTabsDroppingEventArgs.allowDrop;
tabViewExternalTornOutTabsDroppingEventArgs.allowDrop = boolean;
Public Property AllowDrop As Boolean

Property Value

Boolean

bool

true if tabs can be dropped onto this TabView; otherwise, false. The default is false.

Remarks

In the handler for the ExternalTornOutTabsDropping event, set this property to true to allow the drop; otherwise, set it to false (the default). If set to false, the ExternalTornOutTabsDropped event is not raised and the user will continue to be dragging the torn-out tabs.

External tabs are accepted only from other TabView controls in the same process.

Applies to