Table of Contents

Class FlagProperty

Namespace
The.Model.Editor
Assembly
Instagile.Model.dll
public class FlagProperty : IElement<bool>, IProperty<bool>, INotifyPropertyChanged
Inheritance
FlagProperty
Implements
Inherited Members

Constructors

FlagProperty(bool, string?, string?)

public FlagProperty(bool initialValue, string? label = null, string? doc = null)

Parameters

initialValue bool
label string
doc string

Properties

Doc

public string? Doc { get; }

Property Value

string

Label

public string? Label { get; }

Property Value

string

Value

public bool Value { get; set; }

Property Value

bool

Methods

GenDoc(bool)

public string? GenDoc(bool value)

Parameters

value bool

Returns

string

ToString()

public override string ToString()

Returns

string

Undo()

public void Undo()

Update(bool)

public void Update(bool value)

Parameters

value bool

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler