index > Windows Presentation Foundation ("Avalon") > DATA BINDING - Validation object (Rule) never called.

DATA BINDING - Validation object (Rule) never called.

My validation rule is instantiated, but Validate is never called on PropertyChanged trigger.

<TextBox.Text>

<Binding Path="Tag" Source="{StaticResource ExposureTime}" Converter="{StaticResource StringToNumConverter}" UpdateSourceTrigger="PropertyChanged">

<Binding.ValidationRules>

<c:ExposureValidation/>

</Binding.ValidationRules>

</Binding>

</TextBox.Text>

The Binding system is pretty much blackbox, so there isn't much to go on.




Recovering MSFT-SDE
NickNotYet
The validation binding is being lost when the binding is RE-set in code.


Recovering MSFT-SDE
NickNotYet
reply 2

You can use google to search for other answers

 

More Articles

• AtlasControlToolkit controls in WPF!!
• Reusable 3d Control
• Source code for the WPF Tablet PC Demo
• Menu items disabled when setting a command
• Installer that requieres WPF
• DataGrid control
• outlook look and field control using wpf
• Selector.IsSelected in RC1
• Data Binding and Threading
• Styling Brushes
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Binding to a non string - possible?
• Aplying DataTemplate to a Panel
• What is System.Windows.Documents.Glyphs?
• Using GuidelineSet with DrawingContext
• How to Bind to an ADO.NET Data Source.
• XamlParseException was unhandled!
• Creating graphs using WPF
• Event and attached method
• different between Window and NavigationW
• Polygon.Points Binding TwoWay
• How do I access child ui elements of a L
• Tables & ItemsControl
• XmlDataProvider, TreeView, databinding a
• how to get data from listview
• XamlReader? Codebehind classes don't work?

Hot Articles

• unable to focus to a control
• Updated samples for RC1
• BAML stream has version number '0.80' bu
• InlineUIContainers not firing any events
• (not only MediaElement) VisualBrush Code
• ClickOnce Deployment
• WPF Localization Post
• Viewport3D BUG ?
• Animating a ListBox Scrolling Text
• Regarding to Report Viewer
• how to print a document from print dialog
• xmlns deisgner versus compiler assembly
• Changing the selection style of a ComboBox
• XBAP Close with multiple threads
• BindingExpression with XPath='Profiles/P

Recommend Articles

• FindItemWithText in the new ListView??
• possible 3D rendering problem
• How do I access child ui elements of a L
• FlowDocumentScrollViewer, horizontal scr
• BitmapImage and transparent pixels
• Disabling autocomplete for Combobox
• VS 2005 Extensions for .NET 3.0 RC1
• How to get reference of treeviewitem?
• how to keep doc file in document viewer
• Styling Brushes
• Suggestion: Role-based styling
• Timeline Assumptions - Vista release as
• How get click event from button embedded
• Video playback frame rate and performance
• can i superimpose WPF 3D into a video st