The requested page is not available for the requested platform. You are viewing the content for Default platform.

ClientModelManager.RegisterFunction(String, String) Method

Register a Java Script function in a View Model

Namespace: DevExpress.ExpressApp.Mobile

Assembly: DevExpress.ExpressApp.Mobile.v19.1.dll


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


Name Type Description
name String

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

script String

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