[]
Positions children elements in the viewport of the parent ScrollViewer control which supports horizontal scrolling.
public class ShiftingCanvas : Canvas, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
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.
Name | Description |
---|---|
ShiftingCanvas() | Creates the new instance of the ShiftingCanvas class. |
Name | Description |
---|---|
HorizontalContentAlignmentProperty | Identifies the HorizontalContentAlignment dependency property. |
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. |