.NET Framework Class Library

ExposeAttribute Class

Attribute to define a property available on a model property that is decorated with the ModelAttribute as well.

Examples

 

Copy imageCopy Code

                  [Model]

                  [Expose("FirstName")]

                  [Expose("MiddleName")]

                  [Expose("LastName")]

                  public Person Person { get ;set; }

Namespace: Catel.MVVM

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

Syntax

Visual Basic

<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := True)> _

Public Class ExposeAttribute _

 Inherits Attribute

C#

[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = true)]

public class ExposeAttribute : Attribute

Visual C++

[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = true)]

public ref class ExposeAttribute : public Attribute

JavaScript

Catel.MVVM.ExposeAttribute = function();

Type.createClass(

 'Catel.MVVM.ExposeAttribute',

 Attribute);

Inheritance Hierarchy

System.

System.

  Catel.MVVM.

See Also

ExposeAttribute Members

Catel.MVVM Namespace

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