Class DiagramSegment<T>
Represents a diagram logical segment.
Inheritance
System.Object
DiagramSegment<T>
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class DiagramSegment<T> : Object
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
|