Class ConnectionViewModel
Represents a connection between a node input and a node output
Inheritance
System.Object
ReactiveUI.ReactiveObject
ConnectionViewModel
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<ReactiveUI.IReactiveObject>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyPropertyChanging
Splat.IEnableLogger
Inherited Members
ReactiveUI.ReactiveObject.ReactiveUI.IReactiveObject.RaisePropertyChanging(System.ComponentModel.PropertyChangingEventArgs)
ReactiveUI.ReactiveObject.ReactiveUI.IReactiveObject.RaisePropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
ReactiveUI.ReactiveObject.SuppressChangeNotifications()
ReactiveUI.ReactiveObject.AreChangeNotificationsEnabled()
ReactiveUI.ReactiveObject.DelayChangeNotifications()
ReactiveUI.ReactiveObject.Changing
ReactiveUI.ReactiveObject.Changed
ReactiveUI.ReactiveObject.ThrownExceptions
ReactiveUI.ReactiveObject.PropertyChanging
ReactiveUI.ReactiveObject.PropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NodeNetwork.ViewModels
Assembly: NodeNetwork.dll
Syntax
public class ConnectionViewModel : ReactiveObject, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger
Constructors
| Improve this Doc View SourceConnectionViewModel(NetworkViewModel, NodeInputViewModel, NodeOutputViewModel)
Declaration
public ConnectionViewModel(NetworkViewModel parent, NodeInputViewModel input, NodeOutputViewModel output)
Parameters
Type | Name | Description |
---|---|---|
NetworkViewModel | parent | |
NodeInputViewModel | input | |
NodeOutputViewModel | output |
Properties
| Improve this Doc View SourceCanBeRemovedByUser
If false, the user cannot delete this connection. True by default.
Declaration
public bool CanBeRemovedByUser { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Input
The viewmodel of the node input that is on one end of the connection.
Declaration
public NodeInputViewModel Input { get; }
Property Value
Type | Description |
---|---|
NodeInputViewModel |
IsHighlighted
If true, the connection is highlighted.
Declaration
public bool IsHighlighted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsInErrorState
If true, the connection is displayed as being in an erroneous state.
Declaration
public bool IsInErrorState { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMarkedForDelete
If true, the connection is displayed as being marked for deletion.
Declaration
public bool IsMarkedForDelete { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Output
The viewmodel of the node output that is on one end of the connection.
Declaration
public NodeOutputViewModel Output { get; }
Property Value
Type | Description |
---|---|
NodeOutputViewModel |
Parent
The network that contains this connection
Declaration
public NetworkViewModel Parent { get; }
Property Value
Type | Description |
---|---|
NetworkViewModel |
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyPropertyChanging
Splat.IEnableLogger