Beispiel #1
0
        /// <summary>
        /// Initialize a new instance of the DockingMultiUpdate class.
        /// </summary>
        /// <param name="dockingElement">Reference to root element of docking hierarchy.</param>
        public DockingMultiUpdate(IDockingElement dockingElement)
        {
            // Must provide a valid docking element reference
            if (dockingElement == null)
                throw new ArgumentNullException("dockingElement");

            // Inform docking elements that a multi-part update is starting
            _dockingElement = dockingElement;
            _dockingElement.PropogateAction(DockingPropogateAction.StartUpdate, (string[])null);
        }
Beispiel #2
0
        /// <summary>
        /// Initialize a new instance of the DockingMultiUpdate class.
        /// </summary>
        /// <param name="dockingElement">Reference to root element of docking hierarchy.</param>
        public DockingMultiUpdate(IDockingElement dockingElement)
        {
            // Must provide a valid docking element reference
            if (dockingElement == null)
            {
                throw new ArgumentNullException("dockingElement");
            }

            // Inform docking elements that a multi-part update is starting
            _dockingElement = dockingElement;
            _dockingElement.PropogateAction(DockingPropogateAction.StartUpdate, (string[])null);
        }
Beispiel #3
0
 /// <summary>
 /// Release managed and unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     // Inform docking elements that a multi-part update has ended
     _dockingElement.PropogateAction(DockingPropogateAction.EndUpdate, (string[])null);
 }
Beispiel #4
0
 /// <summary>
 /// Initialize a new instance of the DockingMultiUpdate class.
 /// </summary>
 /// <param name="dockingElement">Reference to root element of docking hierarchy.</param>
 public DockingMultiUpdate(IDockingElement dockingElement)
 {
     // Inform docking elements that a multi-part update is starting
     _dockingElement = dockingElement ?? throw new ArgumentNullException(nameof(dockingElement));
     _dockingElement.PropogateAction(DockingPropogateAction.StartUpdate, (string[])null);
 }