[]
        
(Showing Draft Content)

C1.WPF.Schedule.ShiftingCanvas

ShiftingCanvas Class

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

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class ShiftingCanvas : Canvas, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
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.

Constructors

Name Description
ShiftingCanvas()

Creates the new instance of the ShiftingCanvas class.

Fields

Name Description
HorizontalContentAlignmentProperty

Identifies the HorizontalContentAlignment dependency property.

Properties

Name Description
HorizontalContentAlignment

Gets or sets the horizontal alignment of the control's content. This is a dependency property.

SkipScrollViewers

Gets or sets an int value specifying the number of parent ScrollViewers which should be ignored. The default value is 0.