# Can you disable swipe on just one page?

**URL:** <https://forums.fusetools.com/t/can-you-disable-swipe-on-just-one-page/4090>\
**Category:** How-to Discussions\
**Created:** [September 22, 2016, 9:37pm UTC](https://forums.fusetools.com/t/can-you-disable-swipe-on-just-one-page/4090 "2016-09-22T21:37:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgleason\_3](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mgleason\_3](https://forums.fusetools.com/u/mgleason_3)\
**Post date:** [September 22, 2016, 9:37pm UTC](https://forums.fusetools.com/t/can-you-disable-swipe-on-just-one-page/4090/1 "2016-09-22T21:37:36Z")

</div>

Let’s say there are 2 pages: `Home` and `Settings`. The user can swipe left on the `Home` page to get to the `Settings` page. Is it possible to make it so that:

Once on the `Settings` page, the user _must_ click a button to get back `Home` (either “Cancel” or “Save”)?

I’ve tried modifying the “page-control” example, and setting Interaction=“None”, but individual Pages don’t have that property (only PageControl). Setting HitTestMode=“None” and IsEnabled=“false” didn’t seem to make any difference.

One option is to wrap the `Settings` page in a PageControl, add a router and use Javascript to router.goto. But is that the best way?

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [September 22, 2016, 9:51pm UTC](https://forums.fusetools.com/t/can-you-disable-swipe-on-just-one-page/4090/2 "2016-09-22T21:51:40Z")

</div>

In the Settings Page use `WhileActive` to `Change` the `PageControl`'s `Interaction="None"`:

```auto
<PageControl ux:Name="pControl">
  <Page ux:Name="home">...</Page>
  <Page ux:Name="settings">
    <WhileActive>
      <Change Target="pControl.Interaction" Value="None" />
    </WhileActive>
  </Page>
</PageControl

```

---

<div class="post-metadata">

**Author:** ![mgleason\_3](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mgleason\_3](https://forums.fusetools.com/u/mgleason_3)\
**Post date:** [September 23, 2016, 7:57pm UTC](https://forums.fusetools.com/t/can-you-disable-swipe-on-just-one-page/4090/3 "2016-09-23T19:57:53Z")

</div>

@Edwin Reynoso - Thanks! I should have thought of that…
