Table of Contents

Class DirectProperty<T>

Namespace
The.Model.Editor
Assembly
Instagile.Model.dll
public class DirectProperty<T> : IElement<T>, IProperty<T>, INotifyPropertyChanged

Type Parameters

T
Inheritance
DirectProperty<T>
Implements
Inherited Members

Constructors

DirectProperty(T, Func<T, string?>?, string?)

public DirectProperty(T initialValue, Func<T, string?>? generateDoc = null, string? label = null)

Parameters

initialValue T
generateDoc Func<T, string>
label string

Properties

Doc

public string? Doc { get; }

Property Value

string

Label

public string? Label { get; }

Property Value

string

Value

public T Value { get; set; }

Property Value

T

Methods

GenDoc(T)

public string? GenDoc(T value)

Parameters

value T

Returns

string

ToString()

public override string ToString()

Returns

string

Undo()

public void Undo()

Update(T)

public void Update(T value)

Parameters

value T

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler