.NET Framework Class Library

ModelAttribute Class

Attribute to define a property in a view model as a model. Objects decorated with this attribute will be automatically validated when a property changes.

Namespace: Catel.MVVM

Assembly:  Catel.MVVM (in Catel.MVVM.dll)

Syntax

Visual Basic

Public Class ModelAttribute _

 Inherits Attribute

C#

public class ModelAttribute : Attribute

Visual C++

public ref class ModelAttribute : public Attribute

JavaScript

Catel.MVVM.ModelAttribute = function();

Type.createClass(

 'Catel.MVVM.ModelAttribute',

 Attribute);

Inheritance Hierarchy

System.

System.

  Catel.MVVM.

See Also

ModelAttribute Members

Catel.MVVM Namespace

Created with Help & Manual 6 and styled with Premium Pack 2.0