This is a migrated thread and some comments may be shown as answers.

MVVM: update property by PropertyChanged

0 Answers 196 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 29 Nov 2012, 01:15 PM
Hi!
There are PropertyGrid in View and ViewModel with some binding properties.
I want to change property in ViewModel immediate, in PropertyChanged (not in LostFocus).
But the corresponding property in ViewModel updates after propery definition lost focus.
Any ideas?
Code:
<telerik:RadPropertyGrid ... Name="radPropertyGrid" AutoGeneratePropertyDefinitions="False" Item="{Binding}" EditorTemplateSelector="{StaticResource dataTemplateSelector}" >
    <telerik:RadPropertyGrid.PropertyDefinitions>
        <telerik:PropertyDefinition Binding="{Binding VMSomeProperty, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ... />
...

No answers yet. Maybe you can help?

Tags
PropertyGrid
Asked by
Igor
Top achievements
Rank 1
Share this question
or