The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

ViewModelManager Methods

Manages client-side View Model properties, functions, parameters and data sources.

Name Description
BindToDataSource(String)
BindToModel(String)

Returns the client-side binding string (e.g., $global.CurrentObject or $model.CurrentObject).

(Inherited from ClientModelManager)
BindToModel(String, Object)

Updates the client-side View Model properties on the server-side and returns the client-side binding string (e.g., $global.CurrentObject or $model.CurrentObject).

(Inherited from ClientModelManager)
BindToModelCheckForNull(String)

For internal use only.

(Inherited from ClientModelManager)
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetCheckForNullPropertiesScript(String)

For internal use.

(Inherited from ClientModelManager)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetPropertyValue(String)

Returns a value of the specified client-side View Model property on the server-side.

(Inherited from ClientModelManager)
GetType() Gets the Type of the current instance.
(Inherited from Object)
GetUsedProperties()

For internal use.

(Inherited from ClientModelManager)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
RegisterDataSource(String, Object)

Adds a DataSource object to a View Model.

RegisterFunction(String, String)

Register a Java Script function in a View Model

(Inherited from ClientModelManager)
RegisterParameter(String, DataStore)

Adds a MobileModel.Parameter object to a View Model.

RegisterProperty(ModelProperty)

Add the specified property in a View Model.

(Inherited from ClientModelManager)
RegisterProperty(String)

Adds a property with the specified name in a View Model.

(Inherited from ClientModelManager)
ToString() Returns a string that represents the current object.
(Inherited from Object)
UpdatePropertyValue(String, Object)

Updates the specified client-side View Model property on the server-side. After processing a client request, the updated property values are transferred to the client-side and applied to the View Model.

(Inherited from ClientModelManager)
UpdatePropertyValue(String, Object, Object)

For internal use.

(Inherited from ClientModelManager)
See Also