menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectionPointCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConnectionPointCollection

    Collection of ConnectionPoint objects.

    Inheritance
    System.Object
    CollectionEx
    ConnectionPointCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    IServiceReferenceHolder
    IServiceReferenceProvider
    Inherited Members
    CollectionEx.AddRange(ICollection)
    CollectionEx.AddValue(Object)
    CollectionEx.Clear()
    CollectionEx.CopyTo(Array, Int32)
    CollectionEx.Count
    CollectionEx.EventSink
    CollectionEx.GetObjectData(SerializationInfo, StreamingContext)
    CollectionEx.IEnumerable.GetEnumerator()
    CollectionEx.IList.Add(Object)
    CollectionEx.IList.Clear()
    CollectionEx.IList.Contains(Object)
    CollectionEx.IList.get_Item(Int32)
    CollectionEx.IList.IndexOf(Object)
    CollectionEx.IList.Insert(Int32, Object)
    CollectionEx.IList.IsFixedSize
    CollectionEx.IList.IsReadOnly
    CollectionEx.IList.Item[Int32]
    CollectionEx.IList.Remove(Object)
    CollectionEx.IList.RemoveAt(Int32)
    CollectionEx.IList.set_Item(Int32, Object)
    CollectionEx.InsertValue(Int32, Object)
    CollectionEx.IsEmpty
    CollectionEx.IsSynchronized
    CollectionEx.Members
    CollectionEx.OnChanging(CollectionExEventArgs)
    CollectionEx.Owner
    CollectionEx.ProvideServiceReference(RuntimeTypeHandle)
    CollectionEx.QuietMode
    CollectionEx.RaiseChangingEvent(CollectionExEventArgs)
    CollectionEx.RemoveAt(Int32)
    CollectionEx.RemoveRange(ICollection)
    CollectionEx.RemoveValue(Object)
    CollectionEx.Set(Int32, Object)
    CollectionEx.Sort(IComparer)
    CollectionEx.SyncRoot
    CollectionEx.UpdateReferences
    CollectionEx.UpdateServiceReferences(CollectionExEventArgs)
    CollectionEx.UpdateServiceReferences(IServiceReferenceProvider)
    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: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class ConnectionPointCollection : CollectionEx, IList, ICollection, IEnumerable, ICloneable, ISerializable, IServiceReferenceHolder, IServiceReferenceProvider

    Constructors

    ConnectionPointCollection()

    Initializes a new instance of the ConnectionPointCollection class.

    Declaration
    public ConnectionPointCollection()

    ConnectionPointCollection(ConnectionPointCollection)

    Initializes a new instance of the ConnectionPointCollection class.

    Declaration
    public ConnectionPointCollection(ConnectionPointCollection src)
    Parameters
    Type Name Description
    ConnectionPointCollection src

    The SRC.

    ConnectionPointCollection(Node)

    Initializes a new instance of the ConnectionPointCollection class.

    Declaration
    public ConnectionPointCollection(Node owner)
    Parameters
    Type Name Description
    Node owner

    The owner.

    ConnectionPointCollection(SerializationInfo, StreamingContext)

    Initializes a new instance of the ConnectionPointCollection class.

    Declaration
    public ConnectionPointCollection(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    Properties

    Container

    Gets or sets the container.

    Declaration
    public Node Container { get; set; }
    Property Value
    Type Description
    Node

    The container.

    Item[Int32]

    Gets or sets the ConnectionPoint at the specified index.

    Declaration
    public ConnectionPoint this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Property Value
    Type Description
    ConnectionPoint

    The connection point.

    Methods

    Add(ConnectionPoint)

    Adds the specified port.

    Declaration
    public int Add(ConnectionPoint port)
    Parameters
    Type Name Description
    ConnectionPoint port

    The port.

    Returns
    Type Description
    System.Int32

    The value.

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Overrides
    CollectionEx.Clone()

    Contains(ConnectionPoint)

    Determines whether collection contains the specified port.

    Declaration
    public bool Contains(ConnectionPoint port)
    Parameters
    Type Name Description
    ConnectionPoint port

    The port.

    Returns
    Type Description
    System.Boolean

    true if collection contains the specified port; otherwise, false.

    CopyTo(ConnectionPoint[], Int32)

    Copy collection members to array.

    Declaration
    public void CopyTo(ConnectionPoint[] ports, int index)
    Parameters
    Type Name Description
    ConnectionPoint[] ports

    The ports.

    System.Int32 index

    The index.

    FindConnectionPointByID(Int32)

    Finds the connection point by ID.

    Declaration
    public ConnectionPoint FindConnectionPointByID(int nID)
    Parameters
    Type Name Description
    System.Int32 nID

    The ID.

    Returns
    Type Description
    ConnectionPoint

    First end point with given ID.

    GetEnumerator()

    Returns an enumerator that iterates through a collection.

    Declaration
    public override IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    An System.Collections.IEnumerator object that can be used to iterate through the collection.

    Overrides
    CollectionEx.GetEnumerator()

    IndexOf(ConnectionPoint)

    Port index in current collection.

    Declaration
    public int IndexOf(ConnectionPoint port)
    Parameters
    Type Name Description
    ConnectionPoint port

    The port.

    Returns
    Type Description
    System.Int32

    The index.

    Insert(Int32, ConnectionPoint)

    Inserts port to the specified index.

    Declaration
    public void Insert(int index, ConnectionPoint port)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    ConnectionPoint port

    The port.

    OnChangesComplete(CollectionExEventArgs)

    Raises the ChangesComplete event.

    Declaration
    protected override void OnChangesComplete(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    Overrides
    CollectionEx.OnChangesComplete(CollectionExEventArgs)

    OnValidate(ICollection)

    Validates given values.

    Declaration
    protected override void OnValidate(ICollection values)
    Parameters
    Type Name Description
    System.Collections.ICollection values

    The values to validate.

    Overrides
    CollectionEx.OnValidate(ICollection)
    Exceptions
    Type Condition
    System.InvalidCastException

    OnValidate(Object)

    Validates given value.

    Declaration
    protected override void OnValidate(object value)
    Parameters
    Type Name Description
    System.Object value

    value to validate

    Overrides
    CollectionEx.OnValidate(Object)
    Exceptions
    Type Condition
    System.InvalidCastException

    RaiseChangesCompleteEvent(CollectionExEventArgs)

    Raises ChangesComplete event.

    Declaration
    protected override void RaiseChangesCompleteEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    event args

    Overrides
    CollectionEx.RaiseChangesCompleteEvent(CollectionExEventArgs)

    Remove(ConnectionPoint)

    Removes the specified port.

    Declaration
    public void Remove(ConnectionPoint port)
    Parameters
    Type Name Description
    ConnectionPoint port

    The port.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    IServiceReferenceHolder
    IServiceReferenceProvider

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved