Interface IContainerShape
Defines a shape which acts as an items container for other shapes.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface IContainerShape : IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ISupportRotation, IDragDropAware, ICollapsible
Properties
Children
Gets the children.
Declaration
IEnumerable<IDiagramItem> Children { get; }
Property Value
System.Collections.Generic.IEnumerable<IDiagramItem>
|
ContentBounds
Gets or sets the content bounds.
Declaration
Rect ContentBounds { get; set; }
Property Value
System.Windows.Rect
|
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
Gets the min bounds.
Declaration
Rect MinBounds { get; }
Property Value
System.Windows.Rect
The min bounds. |
Methods
AddItem(Object, Nullable<Point>)
Adds item to the Items collection.
Declaration
void AddItem(object item, Nullable<Point> position = null)
Parameters
System.Object
item
|
System.Nullable<System.Windows.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
|