src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerBranch.cs
/// <summary>
///     Called by the tree when item state is toggled (by clicking on the state icon, etc.).  Used to support checkboxes
/// </summary>
Called by the tree when item state is toggled (by clicking on the state icon, etc.).  Used to support checkboxes
Called by the tree when item state is toggled ( by clicking on the state icon etc . ) . Used to support checkboxes
public StateRefreshChanges  ToggleState(int row, int column)
        {
            try
            {
                InVirtualTreeEdit = true;
                var columnDescriptor = _columns[column];
                if (columnDescriptor.ColumnIsCheckBox)
                {
                    return columnDescriptor.ToggleCheckBoxValue(GetElement(row));
                }
            }
            finally
            {
                InVirtualTreeEdit = false;
            }
            return StateRefreshChanges.None;
        }
public StateRefreshChanges ToggleState ( int row , int column ) { try { InVirtualTreeEdit = true ; var columnDescriptor = _columns [ column ] ; if ( columnDescriptor . ColumnIsCheckBox ) { return columnDescriptor . ToggleCheckBoxValue ( GetElement ( row ) ) ; } } finally { InVirtualTreeEdit = false ; } return StateRefreshChanges . None ; }
Called by the tree when item state is toggled (by clicking on the state icon, etc.).
Called by the tree when item state is toggled ( by clicking on the state icon etc . ) .
/* IBranch */
row
int
column
int