public void ExpandedMD(object sender) { var a = this; DataGridRow row = BaseMethod.FindVisualParent <DataGridRow>(sender as Expander); row.DetailsVisibility = System.Windows.Visibility.Visible; }
public void CollapsedMD(object sender) { DataGridRow row = BaseMethod.FindVisualParent <DataGridRow>(sender as Expander); row.DetailsVisibility = System.Windows.Visibility.Collapsed; }