src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerInPlaceEdit.cs
/// <summary>
///     Pass KeyDown events on to the parent control for special handling
/// </summary>
/// <param name="e"></param>
Pass KeyDown events on to the parent control for special handling
Pass KeyDown events on to the parent control for special handling
protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
            if (!e.Handled)
            {
                var parent = Parent as TreeGridDesignerTreeControl;
                Debug.Assert(parent != null, "parent of TreeGridDesignerInPlaceEdit must be TreeGridDesignerTreeControl");
                if (parent != null)
                {
                    e.Handled = (ProcessKeyReturn.NotHandled != parent.ProcessKeyDown(e));
                }
            }
        }
protected override void OnKeyDown ( KeyEventArgs e ) { base . OnKeyDown ( e ) ; if ( ! e . Handled ) { var parent = Parent as TreeGridDesignerTreeControl ; Debug . Assert ( parent != null , " " ) ; if ( parent != null ) { e . Handled = ( ProcessKeyReturn . NotHandled != parent . ProcessKeyDown ( e ) ) ; } } }
Pass KeyDown events on to the parent control for special handling
Pass KeyDown events on to the parent control for special handling
e
KeyEventArgs
None