You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/apps/develop/input/guidelines-for-targeting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ All interactive UI elements in your Windows application must be large enough for
16
16
17
17
Supporting touch input (and the relatively imprecise nature of the touch contact area) requires further optimization with respect to target size and control layout as the larger, more complex set of input data reported by the touch digitizer is used to determine the user's intended (or most likely) target.
18
18
19
-
All UWP controls have been designed with default touch target sizes and layouts that enable you to build visually balanced and appealing apps that are comfortable, easy to use, and inspire confidence.
19
+
All WinUI controls have been designed with default touch target sizes and layouts that enable you to build visually balanced and appealing apps that are comfortable, easy to use, and inspire confidence.
20
20
21
21
In this topic, we describe these default behaviors so you can design your app for maximum usability using both platform controls and custom controls (should your app require them).
Copy file name to clipboardExpand all lines: hub/apps/develop/input/index.md
+33-50Lines changed: 33 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
description: Learn how to customize your Universal Windows Platform (UWP) app for interaction with specific types of inputs including pen, Surface dial, and speech.
2
+
description: Learn how to customize your WinUI for interaction with specific types of inputs including pen and speech.
3
3
title: Input and interactions
4
-
keywords: app inputs, customize UWP application
4
+
keywords: app inputs, customize WinUI application
5
5
label: Input and interactions
6
6
template: detail.hbs
7
7
ms.date: 09/24/2020
@@ -12,9 +12,9 @@ ms.localizationpriority: medium
12
12
13
13
# Input and interactions
14
14
15
-
UWP apps automatically handle a wide variety of inputs and run on a variety of devices—there’s nothing extra you need to do to enable touch input, for example. But there are times when you might want to optimize your app for certain types of input or devices. For example, if you’re creating a painting app, you might want to customize the way you handle pen input.
15
+
WinUI apps automatically handle a wide variety of inputs and run on a variety of devices—there’s nothing extra you need to do to enable touch input, for example. But there are times when you might want to optimize your app for certain types of input or devices. For example, if you’re creating a painting app, you might want to customize the way you handle pen input.
16
16
17
-
The design and coding instructions in this section help you customize your UWP app for specific types of inputs.
17
+
The design and coding instructions in this section help you customize your WinUI app for specific types of inputs.
18
18
19
19
:::row:::
20
20
:::column:::
@@ -67,22 +67,11 @@ See our <b>[Input primer](../../design/input/index.md)</b> to familiarize yourse
Keyboard input is an important part of the overall user interaction experience for apps. The keyboard is indispensable to people with certain disabilities or users who just consider it a more efficient way to interact with an app.
UWP includes a number of different mechanisms for handling touch input, all of which enable you to create an immersive experience that your users can explore with confidence.
A touchpad combines both indirect multi-touch input with the precision input of a pointing device, such as a mouse. This combination makes the touchpad suited to both a touch-optimized UI and the smaller targets of productivity apps.
Keyboard input is an important part of the overall user interaction experience for apps. The keyboard is indispensable to people with certain disabilities or users who just consider it a more efficient way to interact with an app.
Mouse input is best suited for user interactions that require precision when pointing and clicking. This inherent precision is naturally supported by the UI of Windows, which is optimized for the imprecise nature of touch.
WinUI includes a number of different mechanisms for handling touch input, all of which enable you to create an immersive experience that your users can explore with confidence.
135
118
</p>
136
119
</div>
137
120
<div class="side-by-side-content-right">
138
121
<p>
139
-
<b>[Gamepad and remote control](../../design/input/gamepad-and-remote-interactions.md)</b><br/>
140
-
UWP apps now support gamepad and remote control input. Gamepads and remote controls are the primary input devices for Xbox and TV experiences.
A touchpad combines both indirect multi-touch input with the precision input of a pointing device, such as a mouse. This combination makes the touchpad suited to both a touch-optimized UI and the smaller targets of productivity apps.
141
124
</p>
142
125
</div>
143
126
</div>
@@ -147,7 +130,7 @@ UWP apps now support gamepad and remote control input. Gamepads and remote contr
To accommodate as many users and devices as possible, we recommend that you design your apps to work with as many input types as possible (gesture, speech, touch, touchpad, mouse, and keyboard). Doing so will maximize flexibility, usability, and accessibility.
133
+
To accommodate as many users and devices as possible, we recommend that you design your apps to work with as many input types as possible (speech, touch, touchpad, mouse, and keyboard). Doing so will maximize flexibility, usability, and accessibility.
151
134
</p>
152
135
</div>
153
136
</div>
@@ -173,7 +156,7 @@ Receive, process, and manage input data from pointing devices, such as touch, mo
173
156
<div class="side-by-side-content">
174
157
<div class="side-by-side-content-left">
175
158
<p><b>[Custom text input](../../design/input/custom-text-input.md)</b><br/>
176
-
The core text APIs in the Windows.UI.Text.Core namespace enable a UWP app to receive text input from any text service supported on Windows devices. This enables the app to receive text in any language and from any input type, like keyboard, speech, or pen.
159
+
The core text APIs in the Windows.UI.Text.Core namespace enable a WinUI app to receive text input from any text service supported on Windows devices. This enables the app to receive text in any language and from any input type, like keyboard, speech, or pen.
177
160
</p>
178
161
</div>
179
162
<div class="side-by-side-content-right">
@@ -186,26 +169,26 @@ This article describes selecting and manipulating text, images, and controls and
Panning or scrolling lets users navigate within a single view, to display the content of the view that does not fit within the viewport.
193
-
</p>
194
-
</div>
195
-
</div>
196
-
197
172
<div class="side-by-side">
198
173
<div class="side-by-side-content">
199
174
<div class="side-by-side-content-left">
175
+
<p><b>[Custom text input](../../design/input/custom-text-input.md)</b><br/>
176
+
The core text APIs in the Windows.UI.Text.Core namespace enable a WinUI app to receive text input from any text service supported on Windows devices. This enables the app to receive text in any language and from any input type, like keyboard, speech, or pen.
177
+
</p>
178
+
</div>
179
+
<div class="side-by-side-content-right">
200
180
<p>
201
-
<b>[Optical zoom and resizing](../../design/input/guidelines-for-optical-zoom.md)</b><br/>
202
-
This article describes Windows zooming and resizing elements and provides user experience guidelines for using these interaction mechanisms in your apps.
181
+
<b>[Selecting text and images](../../design/input/guidelines-for-textselection.md)</b><br/>
182
+
This article describes selecting and manipulating text, images, and controls and provides user experience guidelines that should be considered when using these mechanisms in your apps.
This article describes the new Windows UI for rotation and provides user experience guidelines that should be considered when using this new interaction mechanism in your UWP app.
191
+
This article describes the new Windows UI for rotation and provides user experience guidelines that should be considered when using this new interaction mechanism in your WinUI app.
209
192
</p>
210
193
</div>
211
194
</div>
@@ -214,16 +197,16 @@ This article describes the new Windows UI for rotation and provides user experie
Touch targeting in Windows uses the full contact area of each finger that is detected by a touch digitizer. The larger, more complex set of input data reported by the digitizer is used to increase precision when determining the user's intended (or most likely) target.
200
+
<p>
201
+
<b>[Optical zoom and resizing](../../design/input/guidelines-for-optical-zoom.md)</b><br/>
202
+
This article describes Windows zooming and resizing elements and provides user experience guidelines for using these interaction mechanisms in your apps.
Use visual feedback to show users when their interactions are detected, interpreted, and handled. Visual feedback can help users by encouraging interaction. It indicates the success of an interaction, which improves the user's sense of control. It also relays system status and reduces errors.
This article describes the new Windows UI for rotation and provides user experience guidelines that should be considered when using this new interaction mechanism in your WinUI app.
Copy file name to clipboardExpand all lines: hub/apps/develop/input/keyboard-interactions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ Try to rank and present the most important commands, controls, and content first
91
91
92
92
Initial focus specifies the UI element that receives focus when an application or a page is first launched or activated. When using a keyboard, it is from this element that a user starts interacting with your application's UI.
93
93
94
-
For UWP apps, initial focus is set to the element with the highest [TabIndex](/uwp/api/Windows.UI.Xaml.Controls.Control#Windows_UI_Xaml_Controls_Control_TabIndex) that can receive focus. Child elements of container controls are ignored. In a tie, the first element in the visual tree receives focus.
94
+
For WinUI apps, initial focus is set to the element with the highest [TabIndex](/uwp/api/Windows.UI.Xaml.Controls.Control#Windows_UI_Xaml_Controls_Control_TabIndex) that can receive focus. Child elements of container controls are ignored. In a tie, the first element in the visual tree receives focus.
95
95
96
96
#### Set initial focus on the most logical element
Copy file name to clipboardExpand all lines: hub/apps/develop/input/touch-developer-guide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ To provide customized touch support, you can handle various [**UIElement**](/uwp
184
184
185
185
Manipulation events include multi-touch interactions such as zooming, panning, or rotating, and interactions that use inertia and velocity data such as dragging. The information provided by the manipulation events doesn't identify the form of the interaction that was performed, but rather includes data such as position, translation delta, and velocity. You can use this touch data to determine the type of interaction that should be performed.
186
186
187
-
Here is the basic set of touch gestures supported by UWP.
187
+
Here is the basic set of touch gestures supported by WinUI.
0 commit comments