ClientModelManager.RegisterFunction(String, String) Method

Register a Java Script function in a View Model

Namespace: DevExpress.ExpressApp.Mobile

Assembly: DevExpress.ExpressApp.Mobile.v18.2.dll


public ModelFunction RegisterFunction(
    string name,
    string script
Public Function RegisterFunction(
    name As String,
    script As String
) As ModelFunction


Type Name Description
String name

A string that is the name of a script to be registered.

String script

A string that is a script to be registered.


Type Description

A ModelFunction object that is a script that you can use in other scripts.

See Also