Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.16 KB

scrollcontentpresenter_canverticallyscroll.md

File metadata and controls

24 lines (17 loc) · 1.16 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.ScrollContentPresenter.CanVerticallyScroll
winrt property

Microsoft.UI.Xaml.Controls.ScrollContentPresenter.CanVerticallyScroll

-description

Gets or sets a value that indicates whether scrolling on the vertical axis is possible.

-property-value

true if scrolling is possible; otherwise, false.

-remarks

Note

This property is not intended to be set in XAML. 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. For example, when used in an ItemsPanel, there's no property that provides access to a ScrollContentPresenter within the panel.

-examples

-see-also