VegaRise.NET
HomeAPI Reference
Back to DOM

ElementStatusEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Describes the change-tracking status of a DOM element.

Remarks

Used by . The status is computed on demand by comparing the element's current property values against a snapshot captured when the element entered the or state. BaseElement.Status NoChange New

Examples

csharp
1// 1. Freshly created element
2var p = new Paragraph();
3Console.WriteLine(p.Status); // New
4
csharp
1// 2. Unchanged element after capture
2p.Status = ElementStatus.NoChange;
3Console.WriteLine(p.Status); // NoChange
4
csharp
1// 3. Updated element
2p.Status = ElementStatus.NoChange;
3p.Style = new ParagraphStyle();
4Console.WriteLine(p.Status); // Updated
5
csharp
1// 4. Deleted element
2p.Remove();
3Console.WriteLine(p.Status); // Deleted
4

Fields

Deleted

Element has been deleted.

New

Newly created element.

NoChange

No change since the last baseline capture.

Updated

Element has been updated since the last capture.