ScrollContentPresenter.CanHorizontallyScroll ScrollContentPresenter.CanHorizontallyScroll ScrollContentPresenter.CanHorizontallyScroll ScrollContentPresenter.CanHorizontallyScroll Property

Definition

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

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

void CanHorizontallyScroll(bool canhorizontallyscroll);
public bool CanHorizontallyScroll { get; set; }
Public ReadWrite Property CanHorizontallyScroll As bool

Property Value

bool bool

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.