wpf icon indicating copy to clipboard operation
wpf copied to clipboard

Disabling the RealTimeStylus disables scrolling in treeview

Open kaushal2161 opened this issue 1 year ago • 2 comments

Disable_RealTimeStylus.zip

Description

I have disable the RealTimeStylus for our WPF appllication which works perfectly fine with touch events but we can't scroll treeview in our application. It would be great if we get any suggestions.

Reproduction Steps

Disabling the RealTimeStylus for WPF Applications suggested in following link: [(https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/disable-the-realtimestylus-for-wpf-applications?view=netframeworkdesktop-4.8)]

I have used ScrollViewer.PanningMode in treeview.

Expected behavior

Scrolling should work in treeview if we have disabled the RealTimeStylus

Actual behavior

Scrolling not working in treeview if we have disabled the RealTimeStylus.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

kaushal2161 avatar May 14 '24 14:05 kaushal2161

@kaushal2161 - It would be great if you could provide a sample app to repro the issue.

Kuldeep-MS avatar May 15 '24 05:05 Kuldeep-MS

@Kuldeep-MS - Thanks for the quick response. I have created sample demo with just treeview with our style and default treeview style but in both cases scrolling not working with touch when we disable RealTimeStylus but click an other function works.

I have uploaded the demo in issue. Thanks

kaushal2161 avatar May 15 '24 09:05 kaushal2161