Skip to content

ConnectionsMultiSelector

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlItemsControlSelectorMultiSelectorConnectionsMultiSelector

Implements: IKeyboardNavigationLayer

References: ConnectionContainer, IKeyboardFocusTarget<ConnectionContainer>, IKeyboardFocusTarget<UIElement>, KeyboardNavigationLayerId, NodifyEditor

public class ConnectionsMultiSelector : MultiSelector, IKeyboardNavigationLayer
public ConnectionsMultiSelector();

Gets or sets whether multiple connections can be selected.

public bool CanSelectMultipleItems { get; set; }

Property Value

Boolean

Gets the NodifyEditor that owns this ConnectionsMultiSelector.

public NodifyEditor Editor { get; set; }

Property Value

NodifyEditor

public virtual KeyboardNavigationLayerId Id { get; set; }

Property Value

KeyboardNavigationLayerId

public virtual IKeyboardFocusTarget<UIElement> LastFocusedElement { get; set; }

Property Value

IKeyboardFocusTarget<UIElement>

Gets or sets the selected connections in the NodifyEditor.

public IList SelectedItems { get; set; }

Property Value

IList

FindNextFocusTarget(ConnectionContainer, TraversalRequest)

Section titled “FindNextFocusTarget(ConnectionContainer, TraversalRequest)”
protected virtual ConnectionContainer FindNextFocusTarget(ConnectionContainer currentContainer, TraversalRequest request);

Parameters

currentContainer ConnectionContainer

request TraversalRequest

Returns

ConnectionContainer

protected override DependencyObject GetContainerForItemOverride();

Returns

DependencyObject

protected override bool IsItemItsOwnContainerOverride(object item);

Parameters

item Object

Returns

Boolean

public override void OnApplyTemplate();

OnElementFocused(IKeyboardFocusTarget<ConnectionContainer>)

Section titled “OnElementFocused(IKeyboardFocusTarget<ConnectionContainer>)”
protected virtual void OnElementFocused(IKeyboardFocusTarget<ConnectionContainer> target);

Parameters

target IKeyboardFocusTarget<ConnectionContainer>

OnSelectionChanged(SelectionChangedEventArgs)

Section titled “OnSelectionChanged(SelectionChangedEventArgs)”
protected override void OnSelectionChanged(SelectionChangedEventArgs e);

Parameters

e SelectionChangedEventArgs

public void Select(ConnectionContainer container);

Parameters

container ConnectionContainer

public virtual bool TryMoveFocus(TraversalRequest request);

Parameters

request TraversalRequest

Returns

Boolean

public virtual bool TryRestoreFocus();

Returns

Boolean