ConnectionContainer
ConnectionContainer Class
Section titled “ConnectionContainer Class”Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → ContentPresenter → ConnectionContainer
Implements: IKeyboardFocusTarget<ConnectionContainer>
References: ConnectionsMultiSelector, SelectionType
public class ConnectionContainer : ContentPresenter, IKeyboardFocusTarget<ConnectionContainer>Constructors
Section titled “Constructors”ConnectionContainer(ConnectionsMultiSelector)
Section titled “ConnectionContainer(ConnectionsMultiSelector)”public ConnectionContainer(ConnectionsMultiSelector selector);Parameters
selector ConnectionsMultiSelector
Properties
Section titled “Properties”Bounds
Section titled “Bounds”public virtual Rect Bounds { get; set; }Property Value
Connection
Section titled “Connection”public FrameworkElement Connection { get; set; }Property Value
IsSelectable
Section titled “IsSelectable”Gets or sets whether this ConnectionContainer can be selected.
public bool IsSelectable { get; set; }Property Value
IsSelected
Section titled “IsSelected”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
Selector
Section titled “Selector”public ConnectionsMultiSelector Selector { get; set; }Property Value
Methods
Section titled “Methods”OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)
Section titled “OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)”protected override void OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs e);Parameters
e DependencyPropertyChangedEventArgs
OnMouseDown(MouseButtonEventArgs)
Section titled “OnMouseDown(MouseButtonEventArgs)”protected override void OnMouseDown(MouseButtonEventArgs e);Parameters
OnMouseUp(MouseButtonEventArgs)
Section titled “OnMouseUp(MouseButtonEventArgs)”protected override void OnMouseUp(MouseButtonEventArgs e);Parameters
OnVisualParentChanged(DependencyObject)
Section titled “OnVisualParentChanged(DependencyObject)”protected override void OnVisualParentChanged(DependencyObject oldParent);Parameters
oldParent DependencyObject
Select(SelectionType)
Section titled “Select(SelectionType)”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.
Events
Section titled “Events”Selected
Section titled “Selected”Occurs when this ConnectionContainer is selected.
public event RoutedEventHandler Selected;Event Type
Unselected
Section titled “Unselected”Occurs when this ConnectionContainer is unselected.
public event RoutedEventHandler Unselected;Event Type