Skip to content

Commit 44f1d12

Browse files
Merge pull request #5464 from MicrosoftDocs/main
Merged by Learn.Build PR Management system
2 parents 816456f + a39f899 commit 44f1d12

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

hub/apps/design/input/custom-text-input.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,19 @@ ms.assetid: 58F5F7AC-6A4B-45FC-8C2A-942730FD7B74
55
label: Custom text input
66
template: detail.hbs
77
keywords: keyboard, text, core text, custom text, Text Services Framework, input, user interactions
8-
ms.date: 09/24/2020
8+
ms.date: 05/30/2025
99
ms.topic: article
10-
11-
1210
ms.localizationpriority: medium
1311
---
14-
# Custom text input
15-
1612

13+
# Custom text input
1714

18-
The core text APIs in the [**Windows.UI.Text.Core**](/uwp/api/Windows.UI.Text.Core) namespace enable a Windows app to receive text input from any text service supported on Windows devices. The APIs are similar to the [Text Services Framework](/windows/desktop/TSF/text-services-framework) APIs in that the app is not required to have detailed knowledge of the text services. This enables the app to receive text in any language and from any input type, like keyboard, speech, or pen.
15+
The core text APIs in the [**Windows.UI.Text.Core**](/uwp/api/Windows.UI.Text.Core) namespace enable a Windows app to receive text input from any text service supported on Windows devices. The APIs are similar to the [Text Services Framework](/windows/desktop/TSF/text-services-framework) APIs in that the app is not required to have detailed knowledge of the text services. This enables the app to receive text in any language and from any input type (such as keyboard, speech, or pen).
1916

2017
> **Important APIs**: [**Windows.UI.Text.Core**](/uwp/api/Windows.UI.Text.Core), [**CoreTextEditContext**](/uwp/api/Windows.UI.Text.Core.CoreTextEditContext)
2118
2219
## Why use core text APIs?
2320

24-
2521
For many apps, the XAML or HTML text box controls are sufficient for text input and editing. However, if your app handles complex text scenarios, like a word processing app, you might need the flexibility of a custom text edit control. You could use the [**CoreWindow**](/uwp/api/Windows.UI.Core.CoreWindow) keyboard APIs to create your text edit control, but these don't provide a way to receive composition-based text input, which is required to support East Asian languages.
2622

2723
Instead, use the [**Windows.UI.Text.Core**](/uwp/api/Windows.UI.Text.Core) APIs when you need to create a custom text edit control. These APIs are designed to give you a lot of flexibility in processing text input, in any language, and let you provide the text experience best suited to your app. Text input and edit controls built with the core text APIs can receive text input from all existing text input methods on Windows devices, from [Text Services Framework](/windows/desktop/TSF/text-services-framework) based Input Method Editors (IMEs) and handwriting on PCs to the WordFlow keyboard (which provides auto-correction, prediction, and dictation) on mobile devices.
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
---
2-
title: ListItems.GetPage() Method
3-
description: The GetPage method retrieves the items in the current page of the list.
4-
ms.date: 2/25/2025
2+
title: ListPage.GetItems() Method
3+
description: The GetItems method retrieves the items in the current page of the list.
4+
ms.date: 06/03/2025
55
ms.topic: reference
66
no-loc: [PowerToys, Windows, Insider]
77
---
88

9-
# ListItems.GetPage() Method
9+
# ListPage.GetItems() Method
1010

1111
## Definition
1212

1313
Namespace: [Microsoft.CommandPalette.Extensions.Toolkit](microsoft-commandpalette-extensions-toolkit.md)
1414

15-
The **GetPage** method retrieves the items in the current page of the list. This method is typically called when the user navigates to a different page in the list.
15+
The **GetItems** method retrieves the items in the current page of the list. This method is typically called when the user navigates to a different page in the list.
1616

1717
## Returns
1818

19-
An [IListItem[]](../microsoft-commandpalette-extensions/ilistitem.md) array containing the items in the current page of the list. The number of items returned is determined by the **PageSize** property of the **ListItems** class.
19+
An array of [IListItem](../microsoft-commandpalette-extensions/ilistitem.md) implementations containing the items in the current page of the list. The number of items returned is determined by the **PageSize** property of the **ListItems** class.
20+
21+
## Related content
22+
23+
- [IListItem](../microsoft-commandpalette-extensions/ilistitem.md)
24+
- [LoadMore](listpage_loadmore.md)

0 commit comments

Comments
 (0)