SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Provides data for the CheckBoxClicked event and RadioButtonClicked event.
 Namespace: Softelvdm.SftTreeNET
 Assembly: Softelvdm.SftTreeNET
Inheritance
public class PartEventArgs : System.EventArgs;
Public Class PartEventArgs
    Inherits System.EventArgs|  | PartEventArgs | Provides data for the CheckBoxClicked event and RadioButtonClicked event. | 
|  | Cell | Defines which cell owns the part or null/Nothing if no cell is associated with the part. | 
|    | Empty | Provides a value to use with events that do not have event data. | 
|  | Item | Defines which item owns the part. | 
|  | Part | The part for which the CheckBoxClicked event or RadioButtonClicked event occurred. | 
|  | RowHeader | Defines which row header owns the part or null/Nothing if no row header is associated with the part. | 
|   | 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. | 
                    GenericPartClass gp = item.Cells[0].Parts[0];
                    if (gp is CheckBoxPartClass) {
                        CheckBoxPartClass cb = (CheckBoxPartClass) gp;
                        cb.State = cb.State == CheckBoxStateEnum.Checked ? CheckBoxStateEnum.Unchecked : CheckBoxStateEnum.Checked;
                        e.Handled = true;
                        // changing the checkbox state doesn't automatically call the CheckBoxClicked event
                        CellClass owningCell = (CellClass)cb.PartOwner;
                        ItemClass owningItem = owningCell.OwningItem;
                        sftTree1_CheckBoxClicked(this, new PartEventArgs(owningItem, owningCell, null, cb));
                    } else if (gp is RadioButtonPartClass) {
                        RadioButtonPartClass rb = (RadioButtonPartClass)gp;
                        if (sftTree1.PerformClick_RadioButtonPart(rb)) {
                            e.Handled = true;
                            // changing the radiobutton state doesn't automatically call the RadioButtonClicked event
                            CellClass owningCell = (CellClass) rb.PartOwner;
                            ItemClass owningItem = owningCell.OwningItem;
                    cb.State = CheckBoxStateEnum.Unchecked
                Else
                    cb.State = CheckBoxStateEnum.Checked
                End If
                e.Handled = True
                ' changing the checkbox state doesn't automatically call the CheckBoxClicked event
                Dim owningCell As CellClass = cb.PartOwner
                Dim owningItem As ItemClass = owningCell.OwningItem
                SftTree1_CheckBoxClicked(Me, New PartEventArgs(owningItem, owningCell, Nothing, cb))
            ElseIf TypeOf gp Is RadioButtonPartClass Then
                Dim rb As RadioButtonPartClass = gp
                If SftTree1.PerformClick_RadioButtonPart(rb) Then
                    e.Handled = True
                    ' changing the radiobutton state doesn't automatically call the RadioButtonClicked event
                    Dim owningCell As CellClass = rb.PartOwner
                    Dim owningItem As ItemClass = owningCell.OwningItemSee Also Classes | SftTree/NET 2.0
