mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-29 05:08:00 +03:00
17 lines
407 B
C#
17 lines
407 B
C#
using System.Windows.Controls;
|
|
using TRX_ConfigToolLib.Models;
|
|
|
|
namespace TRX_ConfigToolLib.Controls;
|
|
|
|
public partial class CategoryControl : UserControl
|
|
{
|
|
public CategoryControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void ScrollViewer_ScrollChanged(object sender, ScrollChangedEventArgs e)
|
|
{
|
|
(DataContext as CategoryViewModel).ViewPosition = e.VerticalOffset;
|
|
}
|
|
}
|