24 lines
619 B
C#
24 lines
619 B
C#
using System.Windows.Controls;
|
|
|
|
namespace AuroraLaser.Views
|
|
{
|
|
public partial class UCLaserCompactCalibration : UserControl
|
|
{
|
|
public UCLaserCompactCalibration()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void SelectionItemChanged(object sender, SelectionChangedEventArgs e)
|
|
{
|
|
if (sender is DataGrid dataGrid && dataGrid.SelectedItem != null) {
|
|
dataGrid.ScrollIntoView(dataGrid.SelectedItem);
|
|
}
|
|
}
|
|
|
|
private void DataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
{
|
|
}
|
|
}
|
|
}
|