Scheduler for WPF | ComponentOne
C1.WPF.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 ShiftingCanvas.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.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Panel
                         System.Windows.Controls.Canvas
                            C1.WPF.Schedule.ShiftingCanvas

    See Also