OrientedVirtualizingPanel.CanVerticallyScroll OrientedVirtualizingPanel.CanVerticallyScroll OrientedVirtualizingPanel.CanVerticallyScroll OrientedVirtualizingPanel.CanVerticallyScroll Property

Definition

Gets or sets a value that determines how the OrientedVirtualizingPanel measures space for child elements for possible scrolling in the vertical dimension.

public : Platform::Boolean CanVerticallyScroll { get; set; }
bool CanVerticallyScroll();

void CanVerticallyScroll(bool canverticallyscroll);
public bool CanVerticallyScroll { get; set; }
Public ReadWrite Property CanVerticallyScroll As bool

Property Value

bool bool

true to support a potentially infinite vertical layout dimension. false to restrict to available size.

Remarks

Note

This property is not intended to be set inXAML. You can set the panel's Orientation property in XAML and optionally change the ScrollViewer.HorizontalScrollBarVisibility or ScrollViewer.VerticalScrollBarVisibility to change how scrolling works. This property can be changed in code. In some cases you will need to use VisualTreeHelper to access the panel.