Comments (10)
I need this demo too. I saw this feature on msdn, but there have not any documents.
from windows-universal-samples.
@h82258652 I looked more into it on VS 2015 RC, and the properties aren't even available. But, as you said, it's mentioned in Whatโs new for developers in Windows 10.
from windows-universal-samples.
@bricelam
Thanks, I can not find these classes on VS 2015 RC either. But I had been seen them on VS 2015 CTP6. Maybe MS remove this feature now?
Hopefully this feature can come back in the official Win 10 version. Validate input is necessary. Just like the model validation in asp.net mvc.
from windows-universal-samples.
FYI, patterns & practices has some good guidance on implementing validation yourself, but it will sure be nice to have it built in.
from windows-universal-samples.
Emm, great article. But I think this:
<TextBox x:Name="FirstNameValue"
Grid.Row="2"
Text="{Binding UserInfo.FirstName, Mode=TwoWay}">
<interactivity:Interaction.Behaviors>
<quickstartbehaviors:HighlightFormFieldOnErrors PropertyErrors="{Binding UserInfo.Errors[FirstName]}" />
</interactivity:Interaction.Behaviors>
</TextBox>
can be more better. We write "FirstName" twice. The validation system should know what property we are binding.
I found this method on msdn: https://msdn.microsoft.com/en-us/library/ms598124(v=vs.110).aspx
This method is also available in WPF and Windows Runtime.
We pass a dependency property to this method, if this dependency property is binding now, it will return a object which contains binding path, binding source and etc.
Maybe we can use this to build our validation framework.
from windows-universal-samples.
This topic is increasing in scope, I've reached out to the owners of this API to respond on this thread specifically about samples in this area. I recommend moving the more in-depth discussion to the Developing Universal Windows apps forum - https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=wpdevelop
from windows-universal-samples.
@AdamBraden
So MS decided to remove this feature?
from windows-universal-samples.
I've reached out to the owners of this API to respond ... about samples in this area.
Thank you.
from windows-universal-samples.
Hi @bricelam thanks for this note. Unfortunately, yes these features for validation will not make it in the final release for Windows 10 right now. We had some good initial feedback from customers that we weren't delivering the expectations and we want more time to get this right before delivering something that wasn't going to meet customers needs primarily. This remains on our backlog for prioritizing against ongoing/new customer requests.
from windows-universal-samples.
@timheuer
Thanks you.
Emm, Iโm trying now, but resolve the binding path to property is difficult.
from windows-universal-samples.
Related Issues (20)
- Adding a Rfcomm serial device to a Bluetooth adapter HOT 2
- Bluetoothle and non-gatt communication.
- Can Bluetooth low energy use MTU? HOT 1
- How to properly close an instance of CustomDevice ?
- More Sample Code for WinUI3 desktop app, not UWP. HOT 3
- Microsoft Advertising Beacon "overrides" other Advertisments
- WebAuthenticationBroker sample for google no longer works HOT 2
- When BluetoothLE device connected, I switch to "Discover" page. The connection won't be released.
- Executable for Personalization HOT 3
- Add a sample on WebAuthenticationCoreManager::CreateWebAccountMonitor Method
- Microsoft::Resources::MRT_ERROR_SCENARIO_TYPE
- Inputting voice fails to produce results HOT 29
- Some of these samples are missing core components. HOT 6
- XAML disigner tells you to upgrade Windows? HOT 2
- Create feature to remove a portion of the video and save the copy without the cut portion
- WICColorContextUninitialized is returned by IWICColorContext->GetType
- DatagramSocket c++/winrt
- Small UI bug in SimpleCommunication c# sample
- AppointmentManager.ShowAddAppointmentAsync always returns empty string
- BluetoothLE Sample fails to connect to Silicon Labs device after it reboots in OTA mode
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 windows-universal-samples.