Hi all, I have a serious problem with ScrollBar control using Winui 3. Regardless what I am trying, no scrollbar shows up. Here is my little test window:
<Window
x:Class="ControlTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ControlTest"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid>
<Border x:Name="_Main" Background="{ThemeResource SystemColorBackgroundBrush}"/>
<ScrollBar x:Name="_hScroll" Orientation="Horizontal" VerticalAlignment="Bottom" Maximum="500" ViewportSize="30" Visibility="Visible" IsHitTestVisible="True"/>
</Grid>
</Window>
My expectation: to get a horizontal scrollbar appearing at the bottom. The drag thumb should be 1/10 of the window width... But: NOTHING !
What did I miss ? Where is my mistake? Any help really appreciated!
Greetings,
Chris