Class DiagramSegment<T>
Represents a diagram logical segment.
Inheritance
System.Object
DiagramSegment<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class DiagramSegment<T>
Type Parameters
T
The type. |
Constructors
DiagramSegment(DiagramSegmentPosition)
Initializes a new instance of the DiagramSegment<T> class.
Declaration
public DiagramSegment(DiagramSegmentPosition position)
Parameters
DiagramSegmentPosition
position
The position. |
Properties
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
System.Int32
|
Items
Gets the items.
Declaration
public IEnumerable<T> Items { get; }
Property Value
System.Collections.Generic.IEnumerable<T>
|
Position
Gets the position.
Declaration
public DiagramSegmentPosition Position { get; }
Property Value
DiagramSegmentPosition
|
Methods
AddItem(T)
Adds the item.
Declaration
public bool AddItem(T item)
Parameters
T
item
The item. |
Returns
System.Boolean
|
RemoveItem(T)
Removes the item.
Declaration
public bool RemoveItem(T item)
Parameters
T
item
The item. |
Returns
System.Boolean
|