Interface IContainerShape
Defines a shape which acts as an items container for other shapes.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public interface IContainerShape : IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation, IDragDropAware
Properties
ChildrenItems
Gets the children.
Declaration
IEnumerable<IDiagramItem> ChildrenItems { get; }
Property Value
System.Collections.Generic.IEnumerable<IDiagramItem>
|
ContentBounds
IsCollapsible
Gets or sets a value indicating whether this container is collapsible.
Declaration
bool IsCollapsible { get; set; }
Property Value
System.Boolean
|
Items
Gets the items contained in this visual container.
Declaration
DiagramItemCollection Items { get; }
Property Value
DiagramItemCollection
|
ItemsSource
Gets or sets the items source for this container.
Declaration
IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable
|
MinBounds
Methods
AddItem(Object, Nullable<Point>)
Adds item to the Items collection.
Declaration
void AddItem(object item, Point? position = default(Point? ))
Parameters
System.Object
item
|
System.Nullable<Point>
position
|
AddItems(IEnumerable<Object>)
Adds items to the Items collection.
Declaration
void AddItems(IEnumerable<object> items)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
items
|
FitToChildren()
Fits the size of the container to its children bounding box.
Declaration
void FitToChildren()
OnContainerItemsDeserialized()
Called when the items in the containers have been deserialized and added to the Items collection.
Declaration
void OnContainerItemsDeserialized()
RefreshBounds()
Refreshes the container bounds after a manipulation.
Declaration
void RefreshBounds()
RemoveItem(Object)
Removes item from the Items collection.
Declaration
void RemoveItem(object item)
Parameters
System.Object
item
|
RemoveItems(IEnumerable<Object>)
Removes items from the Items collection.
Declaration
void RemoveItems(IEnumerable<object> items)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
items
|