Provides data for the SftTabs.ShowToolTip event.
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
Inheritance
public class TabToolTipEventArgs : System.EventArgs;
Public Class TabToolTipEventArgs
Inherits System.EventArgsThis class cannot be instantiated.
![]() | Area | The area under the mouse cursor. |
![]() | Tab | The tab under the mouse cursor, or null. |
![]() | ToolTipIcon | Defines the tooltip icon. |
![]() | ToolTipStyle | Defines the tooltip style. |
![]() | ToolTipText | Defines the tooltip text; an empty string shows no tooltip. |
![]() | ToolTipTitle | Defines the tooltip title. |
![]() ![]() ![]() | Empty | Provides a value to use with events that do not have event data. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() ![]() | ToString | Returns a string that represents the current object. |
private void sftTabs1_TabAdded(object sender, TabEventArgs e) {
DumpValues("TabAdded", e);
}
private void sftTabs1_TabRemoved(object sender, TabEventArgs e) {
DumpValues("TabRemoved", e);
}
private void sftTabs1_ShowToolTip(object sender, TabToolTipEventArgs e) {
DumpValues("ShowToolTip", e);
if (e.Area == TabHitAreaEnum.Tab && e.Tab != null && e.Tab.Text == "&Tooltips") {
e.ToolTipIcon = ToolTipIcon.Info;
e.ToolTipTitle = "Balloon Tooltip";
e.ToolTipStyle = Softelvdm.SftTabsNET.Controls.ToolTipAppearanceEnum.Balloon;
e.ToolTipText = "A simple explanatory tooltip\nfor just this tab";Private Sub SftTabs1_TabAdded(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabEventArgs) Handles SftTabs1.TabAdded DumpValues("TabAdded", e) End Sub Private Sub SftTabs1_TabRemoved(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabEventArgs) Handles SftTabs1.TabRemoved DumpValues("TabRemoved", e) End Sub Private Sub SftTabs1_ShowToolTip(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabToolTipEventArgs) Handles SftTabs1.ShowToolTip DumpValues("ShowToolTip", e) If e.Area = TabHitAreaEnum.Tab AndAlso e.Tab IsNot Nothing AndAlso e.Tab.Text = "&Tooltips" Then e.ToolTipIcon = ToolTipIcon.Info e.ToolTipTitle = "Balloon Tooltip" e.ToolTipStyle = Softelvdm.SftTabsNET.Controls.ToolTipAppearanceEnum.Balloon e.ToolTipText = "A simple explanatory tooltip" + vbLf + "for just this tab"
See Also Classes | SftTabs/NET 3.0