Class FieldString
FieldString, represents a string field type. Implements the FieldType
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class FieldString : FieldType
Constructors
FieldString(INodeEditor, Object)
Initializes a new instance of the FieldString class.
Declaration
public FieldString(INodeEditor editor, object inData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| INodeEditor | editor | The editor. |
| Object | inData | The data binding. |
Properties
Data
Gets or sets the data.
Declaration
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| String | The data. |
PortType
Gets the type of the port.
Declaration
public PortType<string> PortType { get; }
Property Value
| Type | Description |
|---|---|
| PortType<String> | The type of the port. |
Methods
OnValueChanged(ChangeEvent<String>)
Called when [value changed].
Declaration
public void OnValueChanged(ChangeEvent<string> e)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeEvent<String> | e | The event. |
SynchronizePortValue()
Synchronizes the port value.
Declaration
public override void SynchronizePortValue()