A container that can hold a number of child FrameworkElements that works well within a CanvasContentHost.

Namespace: yWorks.Canvas
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public class CanvasContainer : Panel, IVisualGroup
Visual Basic
Public Class CanvasContainer _ Inherits Panel _ Implements IVisualGroup

Remarks

Use this container if you need to return a container instance from within a IVisualCreator implementation. Children will be measured and arranged according to their attached CanvasControlArrangeRectProperty.

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Panel
          yWorks.Canvas..::..CanvasContainer

See Also