Hi,
over the year more and more things have become "bindable" - a must have for MVVM.
What I still miss is Command Support.
Example - RadGridView.
I need special logic to store (insert / update) a row in the database.
What I have to do is handle the RowEditEnded (and if I need RowValidation) also the RowValidating events.
I solved this by subclassing the RadGridView and offering a "RowEditEndedCommand" and a "RowValidatingCommand" as ICommand.
Now I can handle the things without code behind.
Something like <xx:MyGridView RowEditEndedCommand="{Binding MySpecialCommand}"...
And what I got is a thing like a Button - I still can handle Events (OnClick) - but I can also bind a Command from my VM.
I don't know if I'm the only one with this need....
Manfred
over the year more and more things have become "bindable" - a must have for MVVM.
What I still miss is Command Support.
Example - RadGridView.
I need special logic to store (insert / update) a row in the database.
What I have to do is handle the RowEditEnded (and if I need RowValidation) also the RowValidating events.
I solved this by subclassing the RadGridView and offering a "RowEditEndedCommand" and a "RowValidatingCommand" as ICommand.
Now I can handle the things without code behind.
Something like <xx:MyGridView RowEditEndedCommand="{Binding MySpecialCommand}"...
And what I got is a thing like a Button - I still can handle Events (OnClick) - but I can also bind a Command from my VM.
I don't know if I'm the only one with this need....
Manfred