.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 Members

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

Constructors

Name Description
ViewModelManager() Creates an instance of the ViewModelManager class.

Properties

Name Description
DataSources Provides access to the data sources available in a View Model.
Functions Provides access to a collection of functions registered in a View Model. Inherited from ClientModelManager.
Properties Provides access to a collection of properties registered in a View Model. Inherited from ClientModelManager.
Values Obsolete. This property is obsolete. Use the DevExpress.ExpressApp.Mobile.ClientModelManager.GetPropertyValue(System.String) property instead. Inherited from ClientModelManager.

Methods

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() protected 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.

Events

Name Description
ClientModelRestored Occurs after the View Model is restored. Inherited from ClientModelManager.
ViewModelRestored Obsolete. This event is obsolete. Use the DevExpress.ExpressApp.Mobile.ClientModelManager.ClientModelRestored event instead. Inherited from ClientModelManager.
See Also