Click or drag to resize

ConditionalDocumentControllerWithDisabledViewTModelInitializeDocument Method

Initialize the controller with the document. If successfull, the function has to return true. Here, you can give two arguments. The first is the document for the enabled state, the second is the document to show in the disabled state.

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool InitializeDocument(
	params Object[] args
)

Parameters

args  Object
The arguments neccessary to create the controller. Normally, the first argument is the document, the second can be the parent of the document and so on.

Return Value

Boolean
Returns if successfull; otherwise .

Implements

IMVCANControllerInitializeDocument(Object)
See Also