MainWindow.CloseTab

Closes a tab and ask for confirmation if the tab doc is dirty.

public Task<Boolean> CloseTab(TabItem tab,
	bool rebindTabHeaders,
	bool dontPromptForSave)

Return Value

true if tab can close, false if it should stay open

Parameters

tab

rebindTabHeaders
When true tab headers are rebound to handle duplicate filenames with path additions.

dontPromptForSave

Overloads:


See also:

Class MainWindow

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic