Persistate API documentation
ShowModalButtons Method (toShow, layout, title, buttonTexts)
NamespacesPersistateUserInterfaceShowModalButtons(IClassified, Layout, String, array<String>[]()[][])

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

Displays an object or collection to the user using a particular Layout, and with up to three custom buttons
Declaration Syntax
C#
public ModalResult ShowModalButtons(
	IClassified toShow,
	Layout layout,
	string title,
	params string[] buttonTexts
)
Parameters
toShow (IClassified)
The object or collection to display to the user.
layout (Layout)
The Layout to use to display the object or collection.
title (String)
The title to display in the modal window.
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)