Occurs when a tab's close button is clicked.
Class: SftTabs
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
public event TabEventHandler TabCloseButtonClicked;
Public Event TabCloseButtonClicked As TabEventHandlerOccurs when a tab's close button is clicked.
The control does not remove the tab; the application does, typically by calling the tab's TabClass.Remove method.
DumpValues("Scrolled", e);
}
private void sftTabs1_PartClicked(object sender, TabPartClickedEventArgs e) {
DumpValues("PartClicked", e);
}
private void sftTabs1_TabCloseButtonClicked(object sender, TabEventArgs e) {
DumpValues("TabCloseButtonClicked", e);
// the control does not remove the tab, the application does
e.Tab.Remove();
}
private void sftTabs1_CloseButtonClicked(object sender, EventArgs e) {
DumpValues("CloseButtonClicked", e);Private Sub SftTabs1_Scrolled(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabScrolledEventArgs) Handles SftTabs1.Scrolled DumpValues("Scrolled", e) End Sub Private Sub SftTabs1_PartClicked(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabPartClickedEventArgs) Handles SftTabs1.PartClicked DumpValues("PartClicked", e) End Sub Private Sub SftTabs1_TabCloseButtonClicked(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabEventArgs) Handles SftTabs1.TabCloseButtonClicked DumpValues("TabCloseButtonClicked", e) ' the control does not remove the tab, the application does e.Tab.Remove() End Sub Private Sub SftTabs1_CloseButtonClicked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTabs1.CloseButtonClicked
See Also SftTabs Class | Classes | SftTabs/NET 3.0