using System.Windows.Controls; namespace leak_test_project.Views { public partial class HomeView : UserControl { public HomeView() { InitializeComponent(); } /// 로그 TextBox의 텍스트 변경 시 자동 스크롤 private void LogTextBox_TextChanged(object sender, TextChangedEventArgs e) { if (sender is TextBox textBox) { textBox.ScrollToEnd(); } } } }