About 6,820 results
Open links in new tab
  1. TextBox Class (Windows.UI.Xaml.Controls) - Windows apps

    Here's how to create a TextBox in XAML and in code. // Add the TextBox to the visual tree. The resulting TextBox looks like this. The blue border indicates that the TextBox has focus. Is TextBox the right …

  2. TextBox - WPF | Microsoft Learn

    Feb 9, 2026 · The following example shows how to use Extensible Application Markup Language (XAML) to define a TextBox control that automatically expands to accommodate multiple lines of text.

  3. The TextBox control - The complete WPF tutorial

    The TextBox control is the most basic text-input control found in WPF and we'll tell you all about it in this chapter of the WPF tutorial.

  4. XAML TextBox - C# Corner

    This article discusses how to create a TextBox and set its various properties such as background and foreground colors, setting size and positions, fonts, wrapping, scrolling, and input validations.

  5. How to Bind TextBox on Enter Key Press in XAML (No Code-Behind) – …

    Jan 16, 2026 · In this blog, we’ll explore two reusable, code-behind-free solutions to bind TextBox on Enter key press using XAML: Behaviors (via Microsoft.Xaml.Behaviors.Wpf for WPF or Behaviors for …

  6. WPF TextBox - C# Corner

    The XAML <TextBox> element represents the TextBox control in UI. The code samples in this article show how to use XAML TextBox element to create a TextBox control in WPF and C#.

  7. winrt-api/windows.ui.xaml.controls/textbox.md at docs - GitHub

    It comes with a familiar, built-in context menu with support for copying and pasting text. A "clear all" button lets a user quickly delete all text that has been entered. It also has spell checking capabilities …

  8. WPF - TextBox Example - Dot Net Perls

    Dec 24, 2024 · From the Toolbox panel, drag a TextBox control to the designer window. Now, in the XAML markup, changed the Text attribute to be an empty string. The Text property indicates the …

  9. WinUI TextBox Input Techniques | Windows App Development Guides ...

    Build productive WinUI TextBox experiences with flyout support, keyboard handlers, and validation tips for multiline and single-line text entry.

  10. microsoft-ui-xaml/src/dxaml/xcp/core/native/text/Controls/TextBox

    To achieve this, we will // call SetText with the old text.