Provides the actual kind of a context view.

Namespace: Xafari
Assembly: Xafari (in Xafari.dll)

Syntax

C#

public ContextViewType ViewType {get; set;}

Property Value

Value is defined by the ContextViewType enumeration.

 

Remarks

Specifies the kind of a context view to which the context will be applied. Types of views are defined by ContextViewType enumeration.

 

 
 public class CalcOrderTotal
 {
    [ContextProperty(ViewType = ContextViewType.DetailView)]
    public Order Order { get; set; }
    ...
 }
 

See Also