OrientedVirtualizingPanel.CanVerticallyScroll Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines how the OrientedVirtualizingPanel measures space for child elements for possible scrolling in the vertical dimension.
public:
property bool CanVerticallyScroll { bool get(); void set(bool value); };
bool CanVerticallyScroll();
void CanVerticallyScroll(bool value);
public bool CanVerticallyScroll { get; set; }
var boolean = orientedVirtualizingPanel.canVerticallyScroll;
orientedVirtualizingPanel.canVerticallyScroll = boolean;
Public Property CanVerticallyScroll As Boolean
Property Value
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.