HeaderPane
Main
Hide
Share Link
Print

HeaderClickedEventArgs Class

Provides data for the HeaderClicked event.

Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Inheritance

Syntax

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

Constructors

This class cannot be instantiated.

Fields

PublicCellThe column header being clicked or null/Nothing indicating that no column header is associated with this event.
PublicColumnIndexThe zero-based column index of the column header being clicked.
PublicStaticInherited from System.EventArgsEmptyProvides a value to use with events that do not have event data.
PublicRowHeaderThe row header being clicked or null/Nothing indicating that no row header is associated with this event.
PublicRowIndexThe zero-based row index of the column header being clicked.

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#

        private void sftTree1_FooterHeightChanged(object sender, EventArgs e) {
            DumpValues("FooterHeightChanged", e);
        }

        private void sftTree1_GiveFeedback(object sender, GiveFeedbackEventArgs e) {
            DumpValues("GiveFeedback", e);
        }

        private void sftTree1_HeaderClicked(object sender, Softelvdm.SftTreeNET.HeaderClickedEventArgs e) {
            DumpValues("HeaderClicked", e);
        }

        private void sftTree1_HeaderDoubleClicked(object sender, Softelvdm.SftTreeNET.HeaderClickedEventArgs e) {
            DumpValues("HeaderDoubleClicked", e);
        }

VB.NET

Private Sub SftTree1_FooterHeightChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTree1.FooterHeightChanged
    DumpValues("FooterHeightChanged", e)
End Sub

Private Sub SftTree1_GiveFeedback(ByVal sender As System.Object, ByVal e As System.Windows.Forms.GiveFeedbackEventArgs) Handles SftTree1.GiveFeedback
    DumpValues("GiveFeedback", e)
End Sub

Private Sub SftTree1_HeaderClicked(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.HeaderClickedEventArgs) Handles SftTree1.HeaderClicked
    DumpValues("HeaderClicked", e)
End Sub

Private Sub SftTree1_HeaderDoubleClicked(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.HeaderClickedEventArgs) Handles SftTree1.HeaderDoubleClicked
    DumpValues("HeaderDoubleClicked", e)
End Sub

See Also Classes | SftTree/NET 3.0