1

Anybody knows if Marketplace certifications are strict about a toggle switch inside a Pivot Item. Since the default template of a Toggle propose to flick it to change the value (but you can also tap on it!), I might think this is a problem with UI guidance.

But I can't find any official document from Microsoft that states it clearly.

Anybody knows something about this? Any link ?

Mathieu Hétu
  • 159
  • 3
  • 9

2 Answers2

1

There are ways to prevent the pivot control from reacting to the flick gesture (see this related question), but in most situations you can use the toggle switch without any major issues. I have a settings page as part of a pivot in one of my apps, and it uses multiple toggle switches without any major usability issues. It has passed certification multiple times, so there is no strict rule against toggle switches on pivot pages.

Community
  • 1
  • 1
Greg Bray
  • 14,929
  • 12
  • 80
  • 104
  • Thanks Greg. My worry was about certification and was wondering if anybody got caught at certification due this situation. – Mathieu Hétu Jun 14 '11 at 17:09
0

You can see the Application Certification Requirements here. The UI Guidelines can be found here. Having any control that uses the same gesture as that of its parent container is generally not recommended. Despite the fact that the toggle control can be tapped or flicked, you don't know what the user is used to doing.

Could you not use a Checkbox instead? Your UI design shouldn't rely on hoping the user uses controls in one particular way (i.e. tapping instead of sliding).

keyboardP
  • 68,824
  • 13
  • 156
  • 205
  • Of course we can use a checkbox, but Toggle Switch would be consistent witht the rest of the app. Only at one place I have a toggle switch inside a PivotItem, and I am looking for official statement from MS against this practice. – Mathieu Hétu Jun 14 '11 at 15:00
  • @Mathieu Hetu - I've given the two links of where the official statements would be. If it's not in those two links, you should be free to do it. There's a hack you can do described here which will stop the pivot from scrolling if you're on the `toggle` control http://mine.tuxfamily.org/?p=111 – keyboardP Jun 14 '11 at 15:05