Beispiel #1
0
        private void OnToggleDetailsExecuted(object sender, ExecutedRoutedEventArgs e)
        {
            DataGridContext dataGridContext = DataGridControl.GetDataGridContext(this);

            if ((dataGridContext != null) && (this.DataContext != null))
            {
                dataGridContext.ToggleDetailExpansion(this.DataContext);
            }
        }