Skip to content

ConnectionContainer

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementContentPresenterConnectionContainer

Implements: IKeyboardFocusTarget<ConnectionContainer>

References: ConnectionsMultiSelector, SelectionType

public class ConnectionContainer : ContentPresenter, IKeyboardFocusTarget<ConnectionContainer>

ConnectionContainer(ConnectionsMultiSelector)

Section titled “ConnectionContainer(ConnectionsMultiSelector)”
public ConnectionContainer(ConnectionsMultiSelector selector);

Parameters

selector ConnectionsMultiSelector

public virtual Rect Bounds { get; set; }

Property Value

Rect

public FrameworkElement Connection { get; set; }

Property Value

FrameworkElement

Gets or sets whether this ConnectionContainer can be selected.

public bool IsSelectable { get; set; }

Property Value

Boolean

Gets or sets a value that indicates whether this ConnectionContainer is selected. Can only be set if ConnectionContainer.IsSelectable is true.

public bool IsSelected { get; set; }

Property Value

Boolean

public ConnectionsMultiSelector Selector { get; set; }

Property Value

ConnectionsMultiSelector

OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

Section titled “OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)”
protected override void OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs e);

Parameters

e DependencyPropertyChangedEventArgs

protected override void OnMouseDown(MouseButtonEventArgs e);

Parameters

e MouseButtonEventArgs

protected override void OnMouseUp(MouseButtonEventArgs e);

Parameters

e MouseButtonEventArgs

protected override void OnVisualParentChanged(DependencyObject oldParent);

Parameters

oldParent DependencyObject

Modifies the selection state of the current item based on the specified selection type.

public void Select(SelectionType type);

Parameters

type SelectionType: The type of selection to perform.

Occurs when this ConnectionContainer is selected.

public event RoutedEventHandler Selected;

Event Type

RoutedEventHandler

Occurs when this ConnectionContainer is unselected.

public event RoutedEventHandler Unselected;

Event Type

RoutedEventHandler