简体   繁体   中英

How to make a horizontal ScrollView in WinUI3?

I'm experienced with c#, however, I'm new to developing Windows programs and XAML, I've been trying to make a horizontal ScrollView but couldn't find a solution on the internet whatsoever. If anyone has any idea on how to make it work I'd be thankful. I'm working on a WinUi 3 project btw.

You could create a ScrollViewer like this:

<ScrollViewer HorizontalScrollMode="Enabled" VerticalScrollMode="Disabled" HorizontalScrollBarVisibility="Visible">
    <!--Put the content you want to scroll here-->
</ScrollViewer>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM