Sdílet prostřednictvím


UISettingsController.SetAutoHideScrollBars(Boolean) Method

Definition

Turn automatic hiding of scroll bars on or off through the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).

public:
 virtual void SetAutoHideScrollBars(bool value) = SetAutoHideScrollBars;
void SetAutoHideScrollBars(bool const& value);
public void SetAutoHideScrollBars(bool value);
function setAutoHideScrollBars(value)
Public Sub SetAutoHideScrollBars (value As Boolean)

Parameters

value
Boolean

bool

True, if enabled. Otherwise, false.

Remarks

Important

This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list.

Add the following to the Package.appmanifest:

  • To <Package>
    • IgnorableNamespaces="iot"
  • Under <Capabilities>
    • <iot:Capability Name="systemManagement"/>

Applies to

See also