RmlDataModel
Summary
Definition
Namespace: SDT4.Managed.UI.Rml.Data
Assembly: SDT4.Managed.UI.dll
abstract class RmlDataModel
Inheritance:
Object ➔ RmlDataModel
Implements:
IDisposable
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
public get; Context |
RmlContext | Returns the context that owns this data model |
public get; Name |
String | Returns the name of the data model. |
Methods
public Void FlagDirty(String? variable)
Summary:
Marks the data model as dirty to rebuild (part of) the DOM.
If the variable is null, then the entire model is assumed dirty
Remarks:
Important
Only top-level variables may be dirtied, i.e. members of this RmlDataModel instance
Parameters:
variable(String?): Valid name of the variable to specify, or null to dirty the entire document.
public Void Dispose()
Remarks:
Danger
Do NOT call this manually. This will be called by the RmlContext when destroying the data model. Invoking this will result in undefined behaviour