Comments (4)
The UpdateSourceTrigger documentation has been updated.
from microsoft-ui-xaml.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Open similar issues:
- UpdateSourceTrigger on PropertyChanged for NumberBox does not work (#7188), similarity score: 0.78
- Way to change TextBox.Text binding default UpdateSourceTrigger to PropertyChanged? (#5414), similarity score: 0.71
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from microsoft-ui-xaml.
You found that this is indeed intentional special behavior for the TextBox.Text property. The other code for doing this is here:
microsoft-ui-xaml/dxaml/xcp/dxaml/lib/BindingExpression_Partial.cpp
Lines 360 to 361 in 3d10001
UWP has the same behavior/code. I agree this should be documented.
from microsoft-ui-xaml.
I'm sorry, I thought I was sure this behavior didn't exist in UWP, but there it is:
Microsoft.Windows.UI.Xaml.Build.Tasks.Utilities.XamlTypeExtensions
internal static bool NeedsLostFocusForTwoWay(this XamlMember member)
=> member.Name == "Text" && member.DeclaringType.UnderlyingType.FullName == "Windows.UI.Xaml.Controls.TextBox";
from microsoft-ui-xaml.
Related Issues (20)
- Cannot set color of Title and Subtitle text in TitleBar HOT 1
- WebView2 Crashes When Interacting with Input Fields in UWP HOT 2
- Nested ObservableCollection crashes when removing item
- Proposal: Add support for XAML codegen in Visual Studio for UWP/WinUI 2 on Modern .NET HOT 2
- Long text not displayed correctly in TextBox over 12k lines HOT 2
- Bug: Unhandled Windows.UI.Xaml.LayoutCycleException from ProgressBar with Large Maximum HOT 1
- [.NET MAUI 9.0 Preview 6, SkiaSharp 3.0-preview4.1] On Windows/WinUI 3 SkiaSharp's SKGLView crashes a .NET MAUI app when it is built in the unpackaged mode HOT 5
- In-app toolbar (XAML Visual Tree) can't select Popup elements
- Modal pages in a maximized app do not cover the whole window in MAUI 9.0 Preview 6 / WinUI 3 HOT 1
- AOT Warning: (CsWinRT1028) The XamlMetaDataProvider is not marked partial HOT 1
- When the number of characters in the `TextBox` control exceeds a certain threshold, the content becomes hidden. HOT 2
- KeyboardAccelerator event fire multiple times HOT 13
- TabView unloads currently selected tabitem when other tabs are removed HOT 1
- Triggering TeachingTip light dismiss during opening breaks light dismiss HOT 2
- WinUI 3 ScrollViewer does not bubble PointerCaptureLost event when ancestor calls CapturePointer in PointerPressed HOT 3
- Crash in `Microsoft.VisualStudio.DesignTools.WinUITap.dll`
- ListView navigation keys are ignoring keyboard modifiers
- Copilot+ ARM64 : System.BadImageFormatException: at is not a valid Win32 application. HOT 7
- Enum DependencyProperties fail in Hot Reload
- Regression v1.6: App crash when changing system theme after closing one of the windows HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft-ui-xaml.