问题
On the iPhone, there is a standard convention for editing lists. You have the list, above that there is the Edit
button and the +
button. You click on the Edit
button and the list changes slightly notifying the user of change of status.
Does Windows Phone 7 have some type of a standard convention for editing lists? It seems every app implements their own.
回答1:
There are UI design guidelines published and maintained by Microsoft for Windows Phone development:
http://go.microsoft.com/fwlink/?LinkId=220811
I'm not sure it will mention "standards" per se. However, the Phone's built in applications (Hotmail, People, etc), all tend towards a common way and a podcast from Metro designers on Silverlight TV advised to behave similarly to the provided apps.
What I've tended to notice is:
- Add button above the list or on the app bar.
- Edit button inside the item itself on the app bar.
- Delete button on the app bar with checkboxes (Hotmail), or delete by holding down to get a context menu.
回答2:
In the August Silverlight Toolkit
, there's a control which mimicks the way emails/etc. are deleted on the device:
http://silverlight.codeplex.com/releases/view/71550
回答3:
Unfortunately, I think not. There are some general guidelines here on the subject, but nothing concrete. It boils down to "Be consistent, but unique".
The latest Silverlight Toolkit (requires Mango) has a control for doing this similar to how the rest of the phone does it - but there is nothing stopping you for doing it your own way if that's what you prefer.
来源:https://stackoverflow.com/questions/7475407/does-windows-phone-7-have-a-standard-edit-add-delete-convention