mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-29 13:17:58 +03:00
18 lines
407 B
C#
18 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;
|
|||
|
}
|
|||
|
}
|