Persistate API documentation
Show Method (toShow, layout)
NamespacesPersistateUserInterfaceShow(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.
Remarks

The object is displayed non-modally in the IPWindow returned by MainWindow.

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.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)