Persistate API documentation
ShowModalButtons Method (toShow, properties, buttonTexts)
NamespacesPersistateUserInterfaceShowModalButtons(IClassified, ContainerProperties, array<String>[]()[][])

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

Displays an object or collection to the user using the default Layout, and with up to three custom buttons
Declaration Syntax
C#
public ModalResult ShowModalButtons(
	IClassified toShow,
	ContainerProperties properties,
	params string[] buttonTexts
)
Parameters
toShow (IClassified)
The object or collection to display to the user.
properties (ContainerProperties)
An object containing property values to be applied to the window showing the object.
buttonTexts (array<String>[]()[][])
Up to three text strings to appear on buttons at the bottom of the modal display. Prefix a button text with the '+' character to make this button click on Enter and return a positive result. Prefix a button text with the '-' character to make the button click on Escape and return a negative result.
Return Value
A value representing the manner in which the user dismissed the modal display.
Remarks
The object or collection is displayed in a modal window, and this method will not return until the user dismisses the modal display. The modal display will contain up to three custom buttons at the bottom right.

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