windows:Windows/property-windows

出自UXGuide.net

跳转到: 导航, 搜索

属性窗口
Property Windows

目录


“属性窗口”是下列几种用户界面(UI)的总称:

对象的“属性”是指下列两项中的一项:

与对话框(不是选项对话框)和向导不同,属性窗口通常支持多个任务,而非单个任务。

属性窗口通常以多个页面的方式来组织,并可以通过选项卡来访问。属性窗口往往与选项卡(或其它)关联,但选项卡并不是属性窗口所必须的

Aa511266_PropWindows01(en-us,MSDN_10).png


典型的属性表

注:布局选项卡控制面板相关的设计规范请参考各自相应的章节。


Is this the right user interface?

To decide, consider these questions:

Property sheets and property inspectors aren't exclusive. You can display the most frequently accessed properties in a property inspector, and the complete set in the property sheet.


Design concepts

Property windows often become a dumping ground for an odd assortment of low-level, technology-based settings. Too often, these properties are organized into tabs, but beyond that not designed for any particular tasks or users. As a result, when users are faced with a task in a property window, they often don't know what to do.

To ensure that your property windows are useful and usable, follow these steps:

If you do only one thing...


Present properties in terms of user goals, not technology. Pretend that you are explaining the property and why it is useful to a friend. How would you explain it? What language would you use? That's the language to use in your property pages.

For more information and examples, see Property Window Design Concepts.

Usage patterns

Property windows have several usage patterns.

All property window patterns except property inspectors use a delayed commit, meaning that changes take effect only when users click OK or Apply. Property inspectors use an immediate commit (properties are changed as soon as users make changes), so there is no need for OK, Cancel, and Apply buttons.

For more information and examples, see Property Window Usage Patterns.


Guidelines

Property sheets


Multiple-object property sheets


Options dialog boxes


Property pages

Aa511266_PropWindows02(en-us,MSDN_10).png
In this example, the purpose of Microsoft® Windows® Firewall is explained at the top of the General page.


First pages


“常规”页


“高级”页


Owned property windows

Incorrect:
Aa511266_PropWindows03(en-us,MSDN_10).png
In this example, the owner options dialog box has three levels of owned property windows. As a result, the meanings of OK and Cancel are confusing.
Aa511266_PropWindows04(en-us,MSDN_10).png
In this example, changes to custom dictionaries and grammar settings can't be cancelled. You can give users this feedback by changing Cancel to Close.


Other owned windows

Aa511266_PropWindows05(en-us,MSDN_10).png
In this example, Disk Cleanup is an auxiliary task, so the previous guidelines don't apply. For example, the Cancel button on the owner window shouldn't be changed to Close.
Incorrect:
Aa511266_PropWindows06(en-us,MSDN_10).png
In this example, clicking Protect document incorrectly closes the Options dialog box.


Tabs

Aa511266_PropWindows07(en-us,MSDN_10).png
In this example, vertical tabs are used to accommodate eight or more tabs.
Incorrect:
Aa511266_PropWindows08(en-us,MSDN_10).png
In this example, the File Locations tab is incorrectly disabled when Microsoft Word 2003 is used as an e-mail editor. The page should be removed because users wouldn't expect to view or change file locations in this context.
Don't disable the tab because doing so isn't self-explanatory and prohibits exploration. Furthermore, users looking for a specific property would be forced to look on all other tabs.
Aa511266_PropWindows09(en-us,MSDN_10).png


In this example from Word 2003, none of the View options apply in Reading Layout. However, users might expect them to apply based on the tab label, so the page is displayed but the options are disabled.
Incorrect:
Aa511266_PropWindows10(en-us,MSDN_10).png
In this example, the graphics add unnecessary visual clutter and do little to improve user comprehension.
Incorrect:
Aa511266_PropWindows11(en-us,MSDN_10).png
In this example, the horizontal tabs are scrolled.


Command buttons


Commit buttons

OK buttons


Cancel buttons


Apply buttons

Incorrect:
Aa511266_PropWindows12(en-us,MSDN_10).png
In this example, none of the system properties have a visual effect, so the Apply button has no value and should be removed.


Close buttons


Page contents

For more information, see Property Window Design Concepts.

Aa511266_PropWindows13(en-us,MSDN_10).png
In this example, the Windows Firewall settings are complex and may result in broken functionality. If there's a problem, it is often easier for users to start over by clicking Restore Defaults.
Confirm the Restore Defaults command if its effect isn't obvious or the settings are complex. Indicate the confirmation by using ellipses.
Aa511266_PropWindows14(en-us,MSDN_10).png
In this example, the page displays a preview of the pointer schemes. While clicking Apply also shows a preview, having a preview on the page is more efficient for users.
Aa511266_PropWindows15(en-us,MSDN_10).png
In this example, the Preview box shows the results of the font settings. This example shows that you can preview settings that aren't graphical.


Help

For more information and examples, see Help.


Standard users and Protected administrators

Many settings require administrator privileges to change. If a process requires administrator privileges, Windows Vista® requires Standard users and Protected administrators to elevate their privileges explicitly. Doing so helps prevent malicious code from running with administrator privileges.

For more information and examples, see User Account Control.


Default values


Text

Commands


Property sheet titles


Property inspector titles


Options dialog box titles


Property page tab names


Property page text


Documentation

When referring to property windows:

When referring to property pages:

个人工具
名字空间
变换
动作
导航
工具箱