Persistate API documentation
CheckPresence Method (items, window)
NamespacesPersistate.UI.DesktopOperationBinderCheckPresence(ToolStripItemCollection, PWindow)

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

Checks the Operations linked to each item in a ToolStripItemCollection and sets the enabled and visible status of the items appropriately.
Declaration Syntax
C#
public static bool CheckPresence(
	ToolStripItemCollection items,
	PWindow window
)
Parameters
items (ToolStripItemCollection)
The items to check. These can be from any interface element such as a menu or toolbar. Only items with the fully qualified name of an operation in the Tag property will be checked.
window (PWindow)
The PWindow in which the collection is based.
Return Value
True if at least one item in the collection is visible, otherwise false.
Remarks
The Presence method for each Operation is called to determine the enabled status to set. If the item has a drop down menu, then the items in that menu are checked too.

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