Skip to content

Commit d178c43

Browse files
authored
Update application-patterns-for-visual-studio.md
preserve view to match framework version of visx templates
1 parent 90a9835 commit d178c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/extensibility/ux-guidelines/application-patterns-for-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ In general, **OK**, **Cancel**, and **Help** buttons should be arranged horizont
381381

382382
![Acceptable configurations for control buttons in Visual Studio dialogs](../../extensibility/ux-guidelines/media/0704-04_controlbuttonconfig.png "0704-04_ControlButtonConfig")<br />Acceptable configurations for control buttons in Visual Studio dialogs
383383

384-
The dialog must include a default control button. This is a button that is invoked by pressing the Enter key - see [Button IsDefault](/dotnet/api/system.windows.controls.button.isdefault?view=netframework-4.7.2)
384+
The dialog must include a default control button. This is a button that is invoked by pressing the Enter key - see [Button IsDefault](/dotnet/api/system.windows.controls.button.isdefault?view=netframework-4.7.2&preserve-view=true)
385385
.To determine the best command to use as the default, choose from the following options (listed in order of precedence):
386386

387387
- Choose the safest and most secure command as the default. This means choosing the command most likely to prevent data loss and avoid unintended system access.
@@ -391,7 +391,7 @@ The dialog must include a default control button. This is a button that is invok
391391
Avoid choosing a permanently destructive action for the default command. If such a command is present, choose a safer command as the default instead.
392392

393393
#### Access keys
394-
Do not use access keys for **OK** or **Cancel**. Enter and Escape shortcuts can be set with [Button IsDefault](/dotnet/api/system.windows.controls.button.isdefault?view=netframework-4.7.2) and [Button IsCancel](/dotnet/api/system.windows.controls.button.iscancel?view=netframework-4.7.2) respectively.
394+
Do not use access keys for **OK** or **Cancel**. Enter and Escape shortcuts can be set with [Button IsDefault](/dotnet/api/system.windows.controls.button.isdefault?view=netframework-4.7.2&preserve-view=true) and [Button IsCancel](/dotnet/api/system.windows.controls.button.iscancel?view=netframework-4.7.2&preserve-view=true) respectively.
395395

396396
#### Imagery
397397
Use images sparingly in dialogs. Don't use large icons in dialogs merely to use up space. Use images only if they are an important part of conveying the message to the user, like warning icons or status animations.

0 commit comments

Comments
 (0)