Hello,
Welcome to Microsoft Q&A.
If you want to increase the value of a text box when scrolling the mouse wheel, you could try to use another control called Number box. Get the Windows UI library by opening Tools > NuGet Package Manager > Manage NuGet Packages for solutions…, and typing WinUI
in the search box under Brower tab. Add this to your Page
element in XAML file: xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
, and add this using statement at the top of the xaml.cs file: using muxc = Microsoft.UI.Xaml.Controls;
.
Just add a NumberBox
control to your page, the control enables increase and decrease value by scrolling.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.