Persistate API documentation
Show Method (toShow, layout)
NamespacesPersistate.UI.DesktopPWindowShow(IClassified, Layout)

[This is preliminary documentation and is subject to change.]

Displays an object or collection using a particular Layout, and in a Pane chosen automatically.
Declaration Syntax
C#
public void Show(
	IClassified toShow,
	Layout layout
)
Parameters
toShow (IClassified)
The object or collection to display to the user.
layout (Layout)
The Layout to use to display the object or collection. May be null in which case a default is used.
Remarks

If the object is already displayed with the given Layout, then it is not displayed again. The user interface attempts to focus the object where it is currently displayed.

The user interface attempts to find the best Pane to display the object in. It takes into account panes declared in the definition file being for the class of the object or collection and given layout type. It also looks for panes which are currently empty, or are currently showing objects of the same class using the same Layout.

An exception may be generated if no Pane could be found to display the object.

Exceptions
ExceptionCondition
ArgumentNullException Parameter toShow is null.
InvalidOperationExceptionNo Layout could be found to display the object or collection, or no Pane could be found in which to show it.

Assembly: Persistate.UI.Desktop (Module: Persistate.UI.Desktop) Version: 0.6.1.20 (0.6.1.20)