BaseElementClass
Definition
- Namespace
- DOM.Abstracts
- Assembly
- DOM.dll
Base implementation for all DOM elements. Tracks element status and provides cloning helpers.
Remarks
is the root of the DOM element hierarchy. It provides two core capabilities used by every concrete element in the library: BaseElement Concrete elements rarely need to interact with this class directly; they simply inherit from it (often indirectly, through,,, or ) and rely on the base plumbing. BaseStyle BaseFill BaseGraphicElement BaseTableElement Change tracking via — the status is computed on demand by comparing the element's current property values against a snapshot captured when the element entered its or state. Status NoChange New Cloning via and — a shallow property-by-property copy that produces an independent instance of the same runtime type. Clone CloneObject`(`)
Examples
Properties
Gets or sets the current status of this element.
Assigning or causes the current property values to be captured as the new baseline, so subsequent changes can be detected as . New NoChange Updated
Methods
Captures the current public property values of this element as the change-tracking baseline.
Creates a shallow clone of this element.
Creates a new instance of the same runtime type as and copies all readable/writable public properties. original