The StretchingCanvas panel positions child elements as standard Canvas and keeps child's Width equal to the parent StretchingCanvasActualWidth property value. This is a supplementary panel which is required due to Silverlight limitation (Silverlight doesn't support binding to the ActualWidth property).

Namespace:  C1.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public class StretchingCanvas : Panel
Visual Basic
Public Class StretchingCanvas _
	Inherits Panel

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Panel
          C1.Silverlight.Schedule..::..StretchingCanvas

See Also