Class NovaRazorAttribute
A proxy for a Noxum.Nova.Data.Cache.CachedAttribute to be used in Razor Views
Inherited Members
Namespace: Noxum.Nova.Razor.Model
Assembly: Noxum.Nova.Razor.Model.dll
Syntax
public sealed class NovaRazorAttribute : NovaRazorObject<CachedAttribute>, IReadOnlyCollection<NovaRazorValue>, IEnumerable<NovaRazorValue>, IEnumerable
Properties
AllowMultiple
Allow Multiple
Declaration
public bool AllowMultiple { get; }
Property Value
| Type | Description |
|---|---|
| bool |
DataType
The database data type
Declaration
public NovaDataType DataType { get; }
Property Value
| Type | Description |
|---|---|
| NovaDataType |
FormatString
Get the format string, if any
Declaration
public string FormatString { get; }
Property Value
| Type | Description |
|---|---|
| string |
InheritanceBehavior
The inheritance behavior
Declaration
public NovaInheritanceBehavior InheritanceBehavior { get; }
Property Value
| Type | Description |
|---|---|
| NovaInheritanceBehavior |
LanguageDependent
Language Dependent
Declaration
public bool LanguageDependent { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Predefined
If true, the attribute is based on predefined values
Declaration
public bool Predefined { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Required
If true, a value for this attribute is required
Declaration
public bool Required { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Sortable
Sortable values: In case of Noxum.Nova.Data.Cache.CachedAttribute.AllowMultiple = true, allow the user to sort values.
Declaration
public bool Sortable { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SortableChildren
Sortable children. In case of Noxum.Nova.Data.Cache.CachedAttribute.DataType = Noxum.Nova.Data.NovaDataType.ObjRef, allow the user to sort child nodes.
Declaration
public bool SortableChildren { get; }
Property Value
| Type | Description |
|---|---|
| bool |
UIDataType
The UI data type
Declaration
public string UIDataType { get; }
Property Value
| Type | Description |
|---|---|
| string |
UnitOfMeasure
Get the unit of measure or null, if this attribute has no unit set
Declaration
public NovaRazorUnit UnitOfMeasure { get; }
Property Value
| Type | Description |
|---|---|
| NovaRazorUnit |
VariantAxis
Get the variant axis, if any
Declaration
public NovaRazorObject VariantAxis { get; }
Property Value
| Type | Description |
|---|---|
| NovaRazorObject |
Virtual
Attribute is virtual (use virtualization code to calculate value)
Declaration
public bool Virtual { get; }
Property Value
| Type | Description |
|---|---|
| bool |