HeaderPane
Main
Hide
Share Link
Print

ItemExpandedEventArgs Class

Provides data for the ItemExpanded event.

Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Inheritance

Syntax

public class ItemExpandedEventArgs : System.EventArgs;
Public Class ItemExpandedEventArgs
    Inherits System.EventArgs

Constructors

This class cannot be instantiated.

Fields

PublicStaticInherited from System.EventArgsEmptyProvides a value to use with events that do not have event data.
PublicItemThe item being expanded.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Examples

C#

            Timer1.Interval = 2000;
            ToolTipClass.HideToolTip();
        }

        private void sftTree1_ItemCollapsed(object sender, ItemCollapsedEventArgs e) {
            AdjustInfo();
        }

        private void sftTree1_ItemExpanded(object sender, ItemExpandedEventArgs e) {
            AdjustInfo();
        }
        private void Form1_Load(object sender, EventArgs e) {
            Optimize();
            AdjustInfo();
        }
    }

VB.NET

  Timer1.Interval = 2000
  ToolTipClass.HideToolTip()
End Sub

Private Sub sftTree1_ItemCollapsed(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.ItemCollapsedEventArgs) Handles sftTree1.ItemCollapsed
  AdjustInfo()
End Sub

Private Sub sftTree1_ItemExpanded(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.ItemExpandedEventArgs) Handles sftTree1.ItemExpanded
  AdjustInfo()
End Sub
End Class

See Also Classes | SftTree/NET 3.0