.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
|
|
[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', |
Inheritance Hierarchy
Catel.MVVM.
See Also