This just drove me crazy as events SOMETIMES get fired and I could not figure out any rule on this ! I have a grid with many columns, placing GotFocus or LeftMouseButtonDown works ALWAYS on the first and second cell, but not on any other cell. Clicking FIRST on the first cell fires correctly begin cell edit events and than also for all others. Clicking first on ANY OTHER cell does not fire any event UNTIL one double clicks, than events get fired again on any other cell.
Totally confusing !
Template example
<my:DataGridTemplateColumn Width="22">
<my:DataGridTemplateColumn.Header>
<TextBlock Style="{StaticResource DataGridHeader}" Text="Occ-"/>
</my:DataGridTemplateColumn.Header>
<my:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock NO EVENT HANDLERE HERE GETS FIRED IF NOT THE FIRST COLUMN x:Name="Column2" Text="{Binding MinPersons,Mode=OneWay}" Style="{StaticResource DataText}" />
</DataTemplate>
</my:DataGridTemplateColumn.CellTemplate>
<my:DataGridTemplateColumn.CellEditingTemplate>
<DataTemplate>
<TextBox x:Name="tbColumn2" Text="{Binding MinPersons, Mode=TwoWay}" Style="{StaticResource IntegerTextBox2Digits}"
TextChanged="TextBox_TextChanged"
TabNavigation="Cycle"/>
</DataTemplate>
</my:DataGridTemplateColumn.CellEditingTemplate>
</my:DataGridTemplateColumn>
Joe Robe