TabView.ExternalTornOutTabsDropped Event
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.
Occurs when tabs torn-out from a TabView in another window have been dropped onto this TabView.
// Register
event_token ExternalTornOutTabsDropped(TypedEventHandler<TabView, TabViewExternalTornOutTabsDroppedEventArgs const&> const& handler) const;
// Revoke with event_token
void ExternalTornOutTabsDropped(event_token const* cookie) const;
// Revoke with event_revoker
TabView::ExternalTornOutTabsDropped_revoker ExternalTornOutTabsDropped(auto_revoke_t, TypedEventHandler<TabView, TabViewExternalTornOutTabsDroppedEventArgs const&> const& handler) const;
public event TypedEventHandler<TabView,TabViewExternalTornOutTabsDroppedEventArgs> ExternalTornOutTabsDropped;
function onExternalTornOutTabsDropped(eventArgs) { /* Your code */ }
tabView.addEventListener("externaltornouttabsdropped", onExternalTornOutTabsDropped);
tabView.removeEventListener("externaltornouttabsdropped", onExternalTornOutTabsDropped);
- or -
tabView.onexternaltornouttabsdropped = onExternalTornOutTabsDropped;
Public Custom Event ExternalTornOutTabsDropped As TypedEventHandler(Of TabView, TabViewExternalTornOutTabsDroppedEventArgs)
Event Type
Remarks
Handle this event to move dropped tabs from the originating TabView control into this TabView. Use the TabViewExternalTornOutTabsDroppedEventArgs.DropIndex to determine where in the TabView the dropped tab should be inserted.
This event occurs after ExternalTornOutTabsDropping, and only when AllowDrop is set to true
in the ExternalTornOutTabsDropping
event args and the CanTearOutTabs property is true
.