Event arguments for events that need to provide a unique name.
상속: EventArgs
 private void OnSlidePanelPageCloseClicked(object sender, UniqueNameEventArgs e)
 {
     // Generate event so that the close action is handled for the named page
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
         dockingManager.CloseRequest(new string[] { e.UniqueName });
 }
 private void OnDockspacePageCloseClicked(object sender, UniqueNameEventArgs e)
 {
     if (PageCloseClicked != null)
         PageCloseClicked(sender, e);
 }
예제 #3
0
 /// <summary>
 /// Raises the StoringPage event.
 /// </summary>
 /// <param name="e">An StorePageEventArgs containing the event data.</param>
 protected virtual void OnStoringPage(UniqueNameEventArgs e)
 {
     if (StoringPage != null)
         StoringPage(this, e);
 }
 private void OnSlidePanelPageAutoHiddenClicked(object sender, UniqueNameEventArgs e)
 {
     // Generate event so that the auto hidden is switched to docked is handled for the group that contains the named page
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
         dockingManager.SwitchAutoHiddenGroupToDockedCellRequest(e.UniqueName);
 }
예제 #5
0
 private void OnDockspacePageAutoHiddenClicked(object sender, UniqueNameEventArgs e)
 {
     // Generate event so that the switch from docked to auto hidden is handled for cell that contains the named page
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
         dockingManager.SwitchDockedCellToAutoHiddenGroupRequest(e.UniqueName);
 }
 private void OnAutoHiddenGroupStoringPage(object sender, UniqueNameEventArgs e)
 {
     // We only allow a single 'store' page in this docking location at a time
     DockingManager.PropogateAction(DockingPropogateAction.ClearAutoHiddenStoredPages, new string[] {e.UniqueName});
 }
예제 #7
0
 /// <summary>
 /// Raises the StoringPage event.
 /// </summary>
 /// <param name="e">An StorePageEventArgs containing the event data.</param>
 protected virtual void OnStoringPage(UniqueNameEventArgs e)
 {
     StoringPage?.Invoke(this, e);
 }
 private void OnAutoHiddenGroupStoringPage(object sender, UniqueNameEventArgs e)
 {
     // We only allow a single 'store' page in this docking location at a time
     DockingManager.PropogateAction(DockingPropogateAction.ClearAutoHiddenStoredPages, new string[] { e.UniqueName });
 }
예제 #9
0
 private void OnDockspacePageAutoHiddenClicked(object sender, UniqueNameEventArgs e)
 {
     PageAutoHiddenClicked?.Invoke(sender, e);
 }