src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/UI/VirtualTreeControl.cs
/// <summary>
///     Helper function to toggle the state at the current index
/// </summary>
/// <returns>True if the state changed</returns>
Helper function to toggle the state at the current index
Helper function to toggle the state at the current index
private bool ToggleStateAtCurrentIndex()
        {
            var iCaret = CurrentIndex;
            var retVal = false;
            if (iCaret != VirtualTreeConstant.NullIndex)
            {
                int nativeSourceColumn;
                int sourceColumn;
                ResolveSelectionColumn(iCaret, out sourceColumn, out nativeSourceColumn);
                if (StateRefreshChanges.None != ToggleAndSynchronizeState(iCaret, nativeSourceColumn))
                {
                    retVal = true;
                }
            }
            return retVal;
        }
private bool ToggleStateAtCurrentIndex ( ) { var iCaret = CurrentIndex ; var retVal = false ; if ( iCaret != VirtualTreeConstant . NullIndex ) { int nativeSourceColumn ; int sourceColumn ; ResolveSelectionColumn ( iCaret , out sourceColumn , out nativeSourceColumn ) ; if ( StateRefreshChanges . None != ToggleAndSynchronizeState ( iCaret , nativeSourceColumn ) ) { retVal = true ; } } return retVal ; }
Helper function to toggle the state at the current index
Helper function to toggle the state at the current index
True if the state changed
True if the state changed