Current item edit completed event

I have list of objects and vizualize the list in ListBox.

Selected object is vizualized as CardDetails data template.

ListBox has property IsSynchronizedWithCurrentItem="True":

<ListBox IsSynchronizedWithCurrentItem="True"
ItemsSource="{Binding}"
/>

<ContentControl ContentTemplate="{StaticResource CardDetails}"
/>

The question is: how can I capture the moment when currently selected object editing is completed

and the user tries to move to another one in the list?

Thanks!

Sergey

[627 byte] By [sergun] at [2007-12-31]

Visual Studio Orcas

Site Classified