TabViewExternalTornOutTabsDroppingEventArgs.AllowDrop Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.