Interface
IShape

Defines the API of a diagramming shape.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IShape : IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation

Inherited Members IDiagramItem.Initialize(IGraphServiceLocator, IGraphInternal)IDiagramItem.IsEnabledIDiagramItem.IsSelectedIDiagramItem.VisibilityIDiagramItem.ZIndexIDiagramItem.BoundsIDiagramItem.IsDynamicIDiagramItem.IdIDiagramItem.NameIDiagramItem.PositionIDiagramItem.IsInEditModeIDiagramItem.IsEditableIDiagramItem.RenderTransformOriginIDiagramItem.ContentISerializable.Serialize()ISerializable.Deserialize(SerializationInfo)ISupportMouseOver.IsMouseOverIPropertyChanged.PropertyChangedIGroupable.ParentGroupIGroupable.ParentGroupChangedISupportManipulation.IsRotationEnabledISupportManipulation.IsResizingEnabledISupportManipulation.IsDraggingEnabledISupportManipulation.IsConnectorsManipulationEnabledISupportManipulation.IsManipulationAdornerVisibleISupportManipulation.AllowDeleteISupportManipulation.AllowCutISupportManipulation.AllowCopyISupportManipulation.AllowPasteISupportVirtualization.VirtualizationStateIContainerChild.ParentContainerICollapsible.IsCollapsedISupportRotation.ActualBoundsISupportRotation.RotationAngle

Properties

Connectors

Gets the connectors of this shape.

Declaration

cs-api-definition
ConnectorCollection Connectors { get; }

Property Value

ConnectorCollection

Height

Gets or sets the height of the shape.

Declaration

cs-api-definition
double Height { get; set; }

Property Value

double

Remarks

In the default implementation this property matches property of the FrameworkElement.

Gets the incoming links (connections).

Declaration

cs-api-definition
IEnumerable<IConnection> IncomingLinks { get; }

Property Value

IEnumerable<IConnection>

Remarks

These are the links or connection ending in this shape.

IsConnectorsAdornerVisible

Gets or sets a value indicating whether the connector adorner is visible.

Declaration

cs-api-definition
bool IsConnectorsAdornerVisible { get; set; }

Property Value

bool

true if this instance is connectors adorner visible; otherwise, false.

MaxHeight

Gets or sets the maximum height of the shape.

Declaration

cs-api-definition
double MaxHeight { get; set; }

Property Value

double

Remarks

In the default implementation this property matches property of the FrameworkElement.

MaxWidth

Gets or sets the maximum width of the shape.

Declaration

cs-api-definition
double MaxWidth { get; set; }

Property Value

double

Remarks

In the default implementation this property matches property of the FrameworkElement.

MinHeight

Gets or sets the minimum height of the shape.

Declaration

cs-api-definition
double MinHeight { get; set; }

Property Value

double

Remarks

In the default implementation this property matches property of the FrameworkElement.

MinWidth

Gets or sets the minimum width of the shape.

Declaration

cs-api-definition
double MinWidth { get; set; }

Property Value

double

Remarks

In the default implementation this property matches property of the FrameworkElement.

Gets the outgoing links (connections).

Declaration

cs-api-definition
IEnumerable<IConnection> OutgoingLinks { get; }

Property Value

IEnumerable<IConnection>

Remarks

These are the links or connection originating from this shape.

Width

Gets or sets the width of the shape.

Declaration

cs-api-definition
double Width { get; set; }

Property Value

double

Remarks

In the default implementation this property matches property of the FrameworkElement.

Extension Methods