Positions children elements in the viewport of the parent ScrollViewer control which supports horizontal scrolling.

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

Syntax

C#
public class ShiftingCanvas : Canvas
Visual Basic
Public Class ShiftingCanvas _
	Inherits Canvas

Remarks

If some part of the ShiftingCanvas is scrolled out of the view, children elements are moved according to the scroll position. Depending on the HorizontalContentAlignment property value children are aligned to the left-most or the right-most viewport side. HorizontalContentAlignment.Center and HorizontalContentAlignment.Stretch are not supported.

Inheritance Hierarchy

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

See Also