Table of Contents

Class AttributeNodeModel

Namespace
The.Model.Editor
Assembly
Instagile.Model.dll
public sealed class AttributeNodeModel : PropertyNodeModel, INotifyPropertyChanged, IOptionModel<Guid>, IOptionModel
Inheritance
AttributeNodeModel
Implements
Inherited Members

Constructors

AttributeNodeModel(AppNodeModel, Guid, Action<IEvent[]>, EventFactory, bool, FeatureCollection, SectionNodeModel, string, IOptionModel<AttributeType>, IOptionModel<AttributeCalculationMode>)

public AttributeNodeModel(AppNodeModel root, Guid id, Action<IEvent[]> update, EventFactory factory, bool requireConfirmDelete, FeatureCollection features, SectionNodeModel initialSection, string initialName, IOptionModel<AttributeType> initialType, IOptionModel<AttributeCalculationMode> initialCalculationMode)

Parameters

root AppNodeModel
id Guid
update Action<IEvent[]>
factory EventFactory
requireConfirmDelete bool
features FeatureCollection
initialSection SectionNodeModel
initialName string
initialType IOptionModel<AttributeType>
initialCalculationMode IOptionModel<AttributeCalculationMode>

Properties

AdminOnly

public override IElement<bool> AdminOnly { get; }

Property Value

IElement<bool>

CalculationMode

public IElement<IOptionModel<AttributeCalculationMode>> CalculationMode { get; }

Property Value

IElement<IOptionModel<AttributeCalculationMode>>

CalculationTypes

public IProperty<ObservableCollection<IOptionModel<AttributeCalculationMode>>?> CalculationTypes { get; }

Property Value

IProperty<ObservableCollection<IOptionModel<AttributeCalculationMode>>>

Commands

public override ObservableCollection<EditorCommand> Commands { get; }

Property Value

ObservableCollection<EditorCommand>

DefaultValue

public IElement<string?> DefaultValue { get; }

Property Value

IElement<string>

DisplayDoc

public MultiDoc DisplayDoc { get; }

Property Value

MultiDoc

DisplayForm

public override IElement<bool> DisplayForm { get; }

Property Value

IElement<bool>

DisplayLabel

public IElement<string?> DisplayLabel { get; }

Property Value

IElement<string>

DisplayList

public override IElement<bool> DisplayList { get; }

Property Value

IElement<bool>

DisplaySearch

public override IElement<bool> DisplaySearch { get; }

Property Value

IElement<bool>

FlagsDoc

public MultiDoc FlagsDoc { get; }

Property Value

MultiDoc

IsAudited

public IElement<bool> IsAudited { get; }

Property Value

IElement<bool>

IsAutonum

public IElement<bool> IsAutonum { get; }

Property Value

IElement<bool>

IsCalculated

public IElement<bool> IsCalculated { get; }

Property Value

IElement<bool>

IsComponentOfUniqueKey

public IProperty<bool> IsComponentOfUniqueKey { get; }

Property Value

IProperty<bool>

IsLegacy

public override IElement<bool> IsLegacy { get; }

Property Value

IElement<bool>

IsLocked

public override bool IsLocked { get; }

Property Value

bool

IsNullable

public IElement<bool> IsNullable { get; }

Property Value

IElement<bool>

IsRequired

public IElement<bool> IsRequired { get; }

Property Value

IElement<bool>

IsTransient

public IElement<bool> IsTransient { get; }

Property Value

IElement<bool>

IsUnique

public IElement<bool> IsUnique { get; }

Property Value

IElement<bool>

LabelOverride

public IProperty<string?> LabelOverride { get; }

Property Value

IProperty<string>

MaxLength

public IElement<string?> MaxLength { get; }

Property Value

IElement<string>

ModelID

public string ModelID { get; }

Property Value

string

Name

public override IElement<string> Name { get; }

Property Value

IElement<string>

Precision

public IElement<string?> Precision { get; }

Property Value

IElement<string>

ShadowCalculationMode

public IProperty<CalculationType> ShadowCalculationMode { get; }

Property Value

IProperty<CalculationType>

ShowCalculationMode

public bool ShowCalculationMode { get; }

Property Value

bool

SyntaxType

public override SyntaxType SyntaxType { get; }

Property Value

SyntaxType

Type

public IElement<IOptionModel<AttributeType>> Type { get; }

Property Value

IElement<IOptionModel<AttributeType>>

TypeTypes

public IProperty<ObservableCollection<IOptionModel<AttributeType>>?> TypeTypes { get; }

Property Value

IProperty<ObservableCollection<IOptionModel<AttributeType>>>

Methods

AsDescriptor()

public override PropertyDescriptor AsDescriptor()

Returns

PropertyDescriptor

ContainsText(string)

public override bool ContainsText(string text)

Parameters

text string

Returns

bool

GetInt(string?)

public int? GetInt(string? userEntry)

Parameters

userEntry string

Returns

int?

ToString()

public override string ToString()

Returns

string

UpdateNames()

public void UpdateNames()