Persistate API documentation
SetFocusTo Method (toFocus, inCollection)
NamespacesPersistateUserInterfaceSetFocusTo(Persistent, IPersistateList)

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

Sets the focus in the user interface to a row in a grid showing a particular object.
Declaration Syntax
C#
public abstract bool SetFocusTo(
	Persistent toFocus,
	IPersistateList inCollection
)
Parameters
toFocus (Persistent)
The object to set focus to.
inCollection (IPersistateList)
The collection showing in a grid which contains the object to focus.
Return Value
True if the object was showing in a grid and the focus was successfully set to it, otherwise false.

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