ComponentOne Scheduler for WPF and Silverlight
C1.Silverlight.Schedule Namespace / ShiftingCanvas Class
Members

In This Topic
    ShiftingCanvas Class
    In This Topic
    Positions children elements in the viewport of the parent ScrollViewer control which supports horizontal scrolling.
    Object Model
    ShiftingCanvas Class
    Syntax
    'Declaration
     
    
    Public Class ShiftingCanvas 
       Inherits System.Windows.Controls.Canvas
    public class ShiftingCanvas : System.Windows.Controls.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