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

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
    Public Class ShiftingCanvas 
       Inherits System.Windows.Controls.Canvas
    public class ShiftingCanvas : System.Windows.Controls.Canvas 
    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


    See Also