WPF Datagrid - subscribe to cell load event?
<p>I am looking to modify the layout of a datagrid cell, in the code-behind, after the cell loads. </p>

<p>I know I can subscribe to the <em>DataGrid.Load</em> or the <em>DataGrid.LoadingRow</em> events, but I am hoping there is a way to subscribe to a specific individual cell's load event so that the implementation is cleaner. In the <a href="https://msdn.microsoft.com/en-us/library/system.windows.controls.datagridcell_events(v=vs.110).aspx" rel="nofollow noreferrer">documentation</a>, it appears the cell class has the event (inherited from FrameworkElement) yet I cannot find a way to subscribe to the event cleanly. </p>

<p>I am using a DataGridTemplateColumn, I figured it would've been easy to do it in the XAML (CellTemplate).</p>

<pre><code>&lt;DataGridTemplateColumn Header="ATTENDEES" Width="*"&gt;
    &lt;DataGridTemplateColumn.CellTemplate&gt;
        &lt;DataTemplate&gt;
            &lt;ItemsControl ItemsSource="{Binding Path=attendees}" x:Name="AttendeesItemsControl"/&gt;
        &lt;/DataTemplate&gt;
    &lt;/DataGridTemplateColumn.CellTemplate&gt;
&lt;/DataGridTemplateColumn&gt;
</code></pre>

<p>Thank you!</p>